Link Details

Link 869265 thumbnail
User 1071333 avatar

By phpfresher
via phpfresher.com
Published: Oct 26 2012 / 05:58

This tutorial will show you how to validate the form . It simply checks whether the form elements like text, radio button i.e. the input type of the form are empty or not.
  • 9
  • 0
  • 388
  • 360

Comments

Add your comment
User 755523 avatar

gusc replied ago:

0 votes Vote down Vote up Reply

There seems to be an error - you remove span on focus, but you don't add any on blur. And I'd suggest to add the error message in HTML and using hide()/show() on span element.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)



    Debugging JavaScript
    Written by: Ashutosh Sharma
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Java EE7
    2. Spring Annotations
    3. Git
    4. Java
    5. REST