Hello,
I would like to apply a class to the active sub menu. I used
previously to select the sub menu with this:
var $path = location.pathname.substring(1);
$('#nav [EMAIL PROTECTED]"' + $path + '"]').addClass('active');
But it failed with the last jquery version
I tried:
$('#nav a[href="' + $path + '"]').addClass('active');
But with no success..

Any idea of the problem in the syntax used or of the syntax to use
with the new jquery version? Thanks in advance. Xavier

Reply via email to