We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please review Instructions for Reporting a Bug.
elements with no type attribute default to type "submit" (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type).
When clicked, the form should be submitted and the request should contain the value of the button.
With this form:
<form> <button name="button1" value="ok">Button without type</button> <button name="button2" value="ok" type="submit">Button with type</button> </form>
Clicking either button should send the values "button1=ok" or "button2=ok".
Without ajaxform, the form works as expected in Firefox and Chromium.
With ajaxform, clicking button2 works as expected, but clicking button1 doesn't send "button1=ok".
This is caused, as far as I understand, by the captureSubmittingElement function looking explicitly for elements with "type=submit".
captureSubmittingElement
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please review Instructions for Reporting a Bug.
Description:
elements with no type attribute default to type "submit" (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type).
When clicked, the form should be submitted and the request should contain the value of the button.
Expected Behavior:
With this form:
Clicking either button should send the values "button1=ok" or "button2=ok".
Actual behavior:
Without ajaxform, the form works as expected in Firefox and Chromium.
With ajaxform, clicking button2 works as expected, but clicking button1 doesn't send "button1=ok".
Remarks
This is caused, as far as I understand, by the
captureSubmittingElement
function looking explicitly for elements with "type=submit".The text was updated successfully, but these errors were encountered: