I am just trying to alert a message when a class is added to a div. The class is added after the document ready so I figured I would have to use the LIVE function ?
Am I right so far ?
This is what I am trying to implement but I have no luck.
I have done a click function test just to verify that the classes are actually right and they are.
if ( $(".profile-tabs .favourite").live("hasClass","active") ) { alert('test'); };
Can someone give me a hand ? Thanks