Skip to main content

Bug Tracker

Side navigation

#13125 closed feature (plugin)

Opened December 27, 2012 11:09PM UTC

Closed December 27, 2012 11:36PM UTC

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

Attachments (0)
Change History (1)

Changed December 27, 2012 11:36PM UTC by dmethvin comment:1

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.