Hello,
I am having the same trouble with alert on another form too. Basically the alert message does not work when called in a js function. I double checked the script for missing quotes or extra quotes. Again I tried but it does not work. I have tried the same script in IE. I am having the...
Hello,
Thanks for your reply.
I removed the alert('do you want to save'). Changed it to return validation and also included return false at the end of every field validation on the form. But still it does not work. I even tried removing the backbutton() script. No matter what these changes are ...
Hello,
I tried this suggestion. But still I have trouble. I am adding my complete code here.This file is called demographic.jsp
Please tell me if you find something else that is wrong here,
thanks
gayatri
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>...
<script language="javascript">
function validation()
{
var email=document.form.email.value
var filter=/^.+@.+\..{2,7}$/
var valid = true;
if(document.form.email.value==')
{
setTimeout('window.alert('Please enter your email address!')',1250)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.