[jQuery] How do i group events?
Hi,
I have a 'a' element with the onclick event. I wanna use this event with another.
Something like this:
$( 'a' ).click( function()
{
// if this element already has a event
this.click && this.click();
$( this ).css( "border", "1px solid red" );
});<br clear="all">
Estevão Lucas