Added: 2 years ago
From: optikalefxx
Views: 13,583
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • what about the better connection between label:for and input:id ?

    i think there is no need to set the req class to both of them.

    ilike this function, i can easily add datatype checking and error handling. good job :)

  • :P

  • I think that's bad code, it only checks for validation,

    plus it should use custom attributes such as data-header="id" as suggested by html5

  • @tapgyn Honestly I use the jquery plugin "jquery validation". Its great. I don't use this function anymore.

  • Great function, and great video.

  • awesome tutorial,

    liked it,, I just started with jquery today and I totaly get what you are saying,, I really like it and I just made something like this with your help and extra stuff in it too make it nicer,, You make it all so clear,, Thnx man

  • Thanks. Make sure you add validation for email too, I didn't show that.

  • I just maked it too test,, not gonna use it,, but how can i do that in javascript?

    Grtz

  • there are a few ways, some better than others. The fool proof way is to use Regex to test for the email pattern. The simple way is to just test for the existence of a period and and @ sign.

  • so just a normal preg thnx

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more