Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

event.target.submitForm() not working in HTML5

tarekahf
Level 8
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