Form validation works in Firefox but not IE..

Discussion in 'JavaScript' started by etamjbal, Feb 2, 2006.

  1. #1
    etamjbal, Feb 2, 2006 IP
  2. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
      if (theForm.model.value == "")
      {
        alert("Please enter your vehilcle's model.");
        theForm.x_first_name.focus();
        return (false);
      }
    Code (markup):
    replace x_first_name with model
     
    dave487, Feb 3, 2006 IP