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
formaction
Pjax does not use formation on a input type="submit".
Steps to duplicate:
The text was updated successfully, but these errors were encountered:
This library doesn't yet support emerging HTML5 standards like formaction. It might in the future.
Sorry, something went wrong.
I solved the problem like this:
$(document).on("submit", "form[data-pjax]", function (event) { var config = {}; var url = $(":input[type=submit][formaction]:focus", $(this)).attr("formaction"); if (url) { config.url = url; } $.pjax.submit(event, "#Container", config); });
No branches or pull requests
Pjax does not use formation on a input type="submit".
Steps to duplicate:
The text was updated successfully, but these errors were encountered: