Jump to content

onsubmit for multiple functions


Recommended Posts


I am using onsubmit button for user login

onsubmit="return vald1();myFunctiona010(event)" 

It has two functions to be called.

One is to prevent default (preventing from going to next page) and other one to get signout option.

Problem is , i need to click 2 times to get signout button.

Is it possible to do it in one click(prevent default and getting signout option).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...