jQuery selector not selecting
Posted
by Paul Nathan
on Stack Overflow
See other posts from Stack Overflow
or by Paul Nathan
Published on 2010-06-01T04:39:30Z
Indexed on
2010/06/01
4:43 UTC
Read the original article
Hit count: 244
jQuery
I am unable to get this event to fire:
$("#about").click(function()
{ //I have put alert("foo") here, won't fire
$("#about_stuff").toggle();
});
snip
<li ><a href="#a" id="about">About</a>
I've tested the toggle line in Firebug and it successfully works - I am at my wits end, I've checked it against multiple examples and it persistently refuses to work.
© Stack Overflow or respective owner