This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert('hello'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Some browsers don't include the submit button's value when form.submit() is | |
// called. This function creates a click listener that duplicates a form's submit | |
// button as a hidden field so its name/value can be included in AJAX POSTs, | |
// allowing different processing based on different submit buttons. | |
// The only argument is a selector that represents the form you want to bind, | |
// such as '#login-form'. | |
// Copyright © 2015 Jason Sylvester. MIT License: | |
// http://opensource.org/licenses/MIT |