« Return to the main article
I simply do this to submit the form and invoke the onSubmit event by Javascript:
function submitFormWithOnSubmitEventFired(f) { if (f.onsubmit()) { f.submit(); } }
I simply do this to submit the form and invoke the onSubmit event by Javascript:
function submitFormWithOnSubmitEventFired(f) { if (f.onsubmit()) { f.submit(); } }