File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Problem with onsubmit event
Joined: Oct 11, 2004
Oct 14, 2005 04:43:00
I am calling a function when submitting a form which returns true or false. I want to submit the form only if the function returns true otherwise nothing is to be done. Please tell me how it can be done.
Joined: Nov 08, 2001
Oct 14, 2005 07:18:00
<form name="form1" onsubmit="return YourFunction()">
I agree. Here's the link:
subject: Problem with onsubmit event
Dispatch Action w/ validate()
input type=image with JS
do i have to submit all the time
Remember password without form reload
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014