[jQuery] jQuery not acting on classes changed by it
Hi all.
I'm implementing a "add to home page" functionality. I have three DIV
classes: home_add,
home_remove and home_full. Each displays an appropriate image. I have
implemented an
onclick functionality for each class <http://pastebin.com/f28f54f13>.
But once the class has been changed, jQuery still follows the initial
onclick function. E.g., if
a button had class "home_add", it still responds with "home_add"
action, even after the class
for that button has been changed to "home_remove". I checked through
Firebug - the class changes
correctly.
Any suggestions where I'm going wrong?
Regards.
--
Rohit V. Bhute
http://rvbhute.org/