Posted 05 March 2013 - 08:45
if you use jquery:
//do something for click
var thelink = $(this);
//do something with link, for example css background
ow yeah, you might want to return false to cancel the link event to the browser. Or if you have several chained events, that might or might not be fired you can use the preventdefault method.