Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13125 closed feature (plugin)

Normalize explicitOriginalTarget cross browser

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:

Description

Right now, there isn't a way to know, for example, in a form with 2 or more submit buttons, which button was pressed. Gecko browsers have the explicitOriginalTarget property in the event object, that tells which element triggered the submit event. It would be great to have the same functionality in the jQuery event object

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: plugin
Status: newclosed

http://stackoverflow.com/questions/179826/crossbrowser-equivalent-of-explicitoriginaltarget-event-parameter

If there's a way for jQuery to do it, there's a way for a plugin to do it. Since it's not governed by a standard at the moment it would be best to have it start as a plugin or shim.

Note: See TracTickets for help on using tickets.