Jump to content

onSubmit function and statement


es131245

Recommended Posts

Got this on working site.

<form action="url" onSubmit="if (check){return true} else {in();return false;}" />

I want to add extra function before this statement.

<form action="url" onSubmit="log();if (check){return true} else {in();return false;}" />

But now statement doent work. How come? I can't remove statement here.

Edited by es131245
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...