All CSS Selectors

OOPS!!!! jQuery Selectors NOT working…

OOPS!!!! jQuery Selectors NOT working.. A very common jQuery problem/issue that you must have face or may face. And there could be tons of reason of selectors not working properly like incorrect syntax, incorrect context.. But do you know there could be another reason which is element ID or css class name? Yes, you read […]
Read the rest of this entry »

addClass, removeClass, hasClass and toggleClass in jQuery

In this post, I will explain about some of the basic but useful jQuery css selectors. These CSS selectors are used to add or remove CSS class, to check whether element has specific css class associated with it or not. Believe me these are basic, but pretty useful. Add cssClass to specific element $('#element').addClass('myclass'); Remove […]
Read the rest of this entry »