Jquery addClass Method
Jquery addClass Method
Hi, first of all I tried searching all over the net for this but found no solution.
So I have a couple of labels with two different classes. The selected label's class name is 'Selected' and the other labels' class name is 'otherlabels'.
Apart from the css properties I have associated with each of these two classes, I also want to use these classes as selectors in jquery. When I Change a label's class from 'Selected' to 'otherlabels', the styling changes but their jquery behaviour stays the same. It's as if jquery cannot access the DOM to get the modified class names.
Any help would be greatly appreciated. Thank you very much for reading.