IfnotFr / PopConfirm

A simple action confirmation plugin for jQuery based on Twitter Bootstrap Popover
MIT License
99 stars 35 forks source link

Send button value with form data when pressing a button of type 'submit' #17

Closed nimamo closed 9 years ago

nimamo commented 9 years ago

When not using jQuery to submit a form, if you press a button of type="submit", button's value attribute will be passed with other form elements. I think the same should happen when confirming form submission using PopConfirm. There are situations where forms include multiple buttons with same name but different values and logic of code which handles form data depends on which button is pressed.

IfnotFr commented 9 years ago

I understand but as the plugin use jQuery i will keep the actual behaviour :)

Thanks for PR anyway !