Skip to content
New issue

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

Submitting form using onchange="this.form.submit()" #69

Open
sultan121 opened this issue Jun 20, 2014 · 0 comments
Open

Submitting form using onchange="this.form.submit()" #69

sultan121 opened this issue Jun 20, 2014 · 0 comments

Comments

@sultan121
Copy link

When I try to submit ajax form using:
onchange="this.form.submit()"

the plugin redirects me to the 'action' page and will not send the form in the background.. to make it clear, try using the following form:

<form method="post" action="page1" class="ajax" data-replace="#submit-status">
<input type="checkbox" name="mycheckbox"  value="1" onchange="this.form.submit()" > some value
</form>
<p id="submit-status"></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant