onchange=javascript:this.form.submit();
and i kept on getting this on my error console:
this.form.submit is not a function
after ogling and googling to the brink of frustration,
a Michael Sharman saved the day:
This only seems to happen when you have a form element named “submit” already on your page,hah! thankful.
so the browser treats that “submit” element as an object which is of course NOT a function.
No comments:
Post a Comment