My code is here
$("a[href=$.jqURL.url()]").hide();
$.jqURL.url()
return current page url.
But this code don't work
Is it possible to select dynamically?
My code is here
$("a[href=$.jqURL.url()]").hide();
$.jqURL.url()
return current page url.
But this code don't work
Is it possible to select dynamically?
Share Improve this question asked Oct 16, 2009 at 14:04 ebattulgaebattulga 11k20 gold badges81 silver badges119 bronze badges1 Answer
Reset to default 11You need to build the selector as a string:
$("a[href=" + $.jqURL.url() + "]").hide();