37
rated 0 times
[
41]
[
4]
/ answers: 1 / hits: 136200
/ 13 Years ago, wed, august 31, 2011, 12:00:00
I have a form with a select and a few text inputs. I'd like the form to be submitted when the select is changed. This works fine using the following:
onchange=this.form.submit()
However, if the form also contains a submit button, then the form does not submit when the select is changed. I'm guessing some kind of conflict.
What are my options here?
Should I use something like
$(this.form).trigger(submit)
instead?
More From » jquery