[jQuery] My toggleClass is not working.
Hello,
I'm a beginner with jQuery. My function is not working.
jQuery:
$(document).ready(function() {
$("a").filter("#click").click(function(){
$("div .six").toggleClass("div .two")
}).end()
});
HTML
<ul>
<li class="six"><a href="#" id="click">Click</a></li>
</ul>
Help-me plz.
Tks :)))