jQuery help
jQuery help
Out of context: Reply #1
- Started
- Last post
- 5 Responses
- acescence0
var linkValue = $(this).attr('href');
that has to be inside the click function. as it is, "this" is referring to document, not your anchor
var linkValue = $(this).attr('href');
that has to be inside the click function. as it is, "this" is referring to document, not your anchor