3 Replies Latest reply on Jul 7, 2006 7:24 AM by Newsgroup_User

    Javascript problem

    nishfat_r
      I Wrote a very simple log in script in java. it works fine in Firefox but Doesn’t work with explorer. There is no cookies involved. I checked the IE setup but still doesn’t work. Please help

      Here is the code. It work fine on firefox but not in IE.

      <script language="javascript">
      <!--//
      /*This Script asks for a UserID and Password*/
      function pasuser(form) {
      if (form.textfield.value=="user") {
      if (form.textfield2.value=="pass") {
      window.location="Folder/xyz.html"
      } else {
      alert("Invalid Password")
      }
      } else { alert("Invalid UserID")
      }
      }
      //-->
      </script>