How do I access the link to the content? [closed]

First of all the id cannot contain spaces.

Then with jQuery to access the content the value in the DOM you need to use the .html() after the selector.

Here is a working example :
http://jsfiddle.net/zuz660uk/

If on the other end you want the value of href then use .attr('href')

Leave a Comment