a js question..

Results 1 to 2 of 2

Thread: a js question..

  1. #1
    Join Date
    Dec 1969

    Default a js question..

    sorry for teh js question here but i needf an answer fast.. <BR><BR>trying to do this?<BR>document.myform.password2.value &#060;&#062; document.myform.password.value<BR><BR>it&#039;s comparing to passwords and not letting you proceed if ither are diffrent? i thinjk &#060;&#062; mean if not equal. but it doesn&#039;t work any ideas..

  2. #2
    Join Date
    Dec 1969

    Default Try this..

    if(document.myform.password2.value != document.myform.password.value)<BR>{<BR> alert(&#039;passwords do not match.&#039;);<BR>}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts