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
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.
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 :)
awesomepseudonym 5 months ago
:P
tapgyn 1 year ago
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 1 year ago
@tapgyn Honestly I use the jquery plugin "jquery validation". Its great. I don't use this function anymore.
optikalefxx 1 year ago
Great function, and great video.
warlord90210 2 years ago
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
HooligansworldDOTcom 2 years ago
Thanks. Make sure you add validation for email too, I didn't show that.
optikalefxx 2 years ago
I just maked it too test,, not gonna use it,, but how can i do that in javascript?
Grtz
HooligansworldDOTcom 2 years ago
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.
optikalefxx 2 years ago
so just a normal preg thnx
HooligansworldDOTcom 2 years ago