Here’s my pen: http://codepen.io/drainpip/pen/nhHaA
Want to take the .attr('href')
and pass it to a function so it can be used by jQuery to look up an element by that ID.
I’m a little fried right now staring at code for 10 hours and I know I’m missing something.
I’m getting some unexpected token on the function, I also have no idea what I’m missing there… but when clicking on the links, the href is being passed successfully over…
I just have a feeling I forgot a comma or something. Thanks.