Expand my Community achievements bar.

event.target.submitForm() not working in HTML5

Avatar

Level 8

I tried to use event.target.submitForm() to submit HTML5 form to tomcat server, and it seems that it has not effect.

However, a regular submit button is submitting the form.

I just wanted to make sure that my findings are correct. I prefer to use Javascript to submit the HTML5 instead of changing the target url of the submit button and invoking the click event.

Appreciate your feedback.

Tarek

0 Replies