Hiya,
I've not been able to find an answer to this online! can someone point
out the correct syntax for this:
var myRel = $(this).attr("rel");
var largePath = $('a[rel*=' + myRel +']').attr("href");
Basicly the myRel gets set correctly, but how do i use the javascript
variable as part of the jq
Hiya,
I've not been able to find an answer to this online! can someone point
out the correct syntax for this:
var myRel = $(this).attr("rel");
var largePath = $('a[rel*=' + myRel +']').attr("href");
Basicly the myRel gets set correctly, but how do i use the javascript
variable as part of the jq
2 matches
Mail list logo