jquery with events

jquery with events

I have a table td with an attribute of 'btn' to identify the button when the click event occurs.

The event object appears to be a javascript object and the only way I have been able to retreive the attribute value is with the following code:

var zz = event.currentTarget.attributes.btn.nodeValue;

Is the an easier way using jquery?

Thanks.

Joe