T
Thomas Weidenfeller
vidya said:In the javascript, i intoduced a new variable "submitted" with initial
value as 0. Now, Inside the if loop,
if (submitted == 0)
change submitted = 1,
do all the feild validations,
submit the form
if(submitted ==1)
give an alert telling that its already being submitted.
Thatz it!!
No, it is not. Many people have turned JavaScript off for security
reasons, so it will fail for them. You can't solve this at the client
side. You need to handle it on the server side.
/Thomas