how to validate a form using javascript ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • komathi043
    New Member
    • Apr 2014
    • 5

    how to validate a form using javascript ?

    i need to validate a form using javascript.But it should not validate with mssbox.i need different method for displaying err msg
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    And what method do you want to use instead? It's hard to guide you if you don't let us know how you want to display the validation errors.

    Comment

    • komathi043
      New Member
      • Apr 2014
      • 5

      #3
      below the textbox i need to display the err msg.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        Then in your code, instead of the message box, change the innerHTML property of a div element.

        Comment

        Working...