hi there. i have the following code
<snip>
<FORM name="" method="post" action="script.cgi" onSubmit="return checkform()">
<snip>
function checkform()
{
}
My question is..I would like to have an alert box with the options yes or no. And upon clicking no the function returns false and therefore the script does not get executed.
Thanks in Advance
Troy
<snip>
<FORM name="" method="post" action="script.cgi" onSubmit="return checkform()">
<snip>
function checkform()
{
}
My question is..I would like to have an alert box with the options yes or no. And upon clicking no the function returns false and therefore the script does not get executed.
Thanks in Advance
Troy