Hi, I have an element ('a') which is no class and no Id, dynamically i created the class during the document loaded.

this is how i add class on a element.
I putted an alert so that i will know that i click the firstclass.

    alert("this is firstclass");
unfortunately it will not alert.but i inspect in the firebug the firstclass is in there..I don't know why it did not alert.

please enlighten my mind on this,.

Thank you in advance.