[jQuery] My toggleClass is not working.
Hello,
I'm a beginner with jQuery. My function is not working.
<b>
jQuery:</b><b>
</b>
$(document).ready(function() {
$("a").filter("#click").click(function(){
$("div .six").toggleClass("div .two")
}).end()
});
<b>HTML</b>
<ul>
<li class="six"><a href="#" id="click">Click</a></li>
</ul>
Help-me plz.
Tks :)))<br clear="all">
--
Thiago Silvestre
Web / Design / Illustration
Portfolio: <a href="http://www.thisilver.com">http://www.thisilver.com</a>
Msn/Gtalk: <a href="http://thisilver.com">thisilver.com</a>@<a href="http://gmail.com">gmail.com</a>