p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: jacascript


Message #1 by "Dyrnes, Jan Arve" <jan.arve.dyrnes@f...> on Mon, 3 Sep 2001 09:58:26 +0200
Mail us your FORM tag as well the problem may be there rather than here, 
try replacing  theForm with document.theForm. Would also suggest that you 
try the Javascript forum at http://p2p.wrox.com instead of the ASP one.

At 09:58 03/09/01 +0200, you wrote:
>Hello,
>
>This form is not submited in Netscape 4.7:
>
><script language="JavaScript">
>
>function checkForm()
>{
>
>         if (theForm.Name.value == "")
>         {
>                 alert("Empty name!");
>                 return;
>         }
>
>         if (theForm.AnsText.value == "")
>         {
>                 alert("Empty text string!");
>                 return;
>         }
>
>// If we've gotten this far, everything's valid!
>         else {
>                 document.theForm.submit();
>
>                 }
>}
>
></script>
>
>
>could any one ples help me out.
>
>Regards,
>Jan Arve
>
>


  Return to Index