How can I handle a link which doesn't have an id? It just has a classname like "classbeauty".
Now I need to know if a user has clicked the link.
If the link is clicked I just need to call alert("yes link clicked");.
I don't know how to handle events in JavaScript.
How can I do that?