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
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
do i have to submit all the time
Dispatch Action w/ validate()
Remember password without form reload
input type=image with JS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015