JSP Two submit buttons on one page and one form

[quote=“hybrisser, post:20, topic:230019, full:true”]
@Paul_Wilkins @m3g4p0p

addEventSelector(“submit”, submitHandler, false); is throwing the error.[/quote]

Can we see a test page that has this error? That will help us to figure out what is causing the problem for you.

The submitHandler function expects an event object to be passed to it. That is not something that you do manually, that is something that the submit event does when the submit event is triggered. When the submit event is triggered, it calls the submitHandler function with the event argument.

Leave it as submitHandler. Don’t invoke is as submitHandler(), and other’s can take a look at your test page to help figure out what is getting in the way.