I probably should add that the title is very decieving.

It's not which button was clicked (that's easy), but which textarea the user
was in when they hit enter.

Hence the checks on keycode 13.
-- 
View this message in context: 
http://www.nabble.com/Determine-which-button-was-just-clicked-tf2298484.html#a6387125
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to