0
[jQuery][Email|Url|Ip] Verification Form, may useful for somebody?!
I created a small script for input verification of email, ip and/or url. It's my first jquery script. So pls leave a like and/or a comment. https://code.sololearn.com/W06bq54lkIw8/#js I hope it's useful for somebody. cheers nouse
2 ответов
0
well, i would strongly recommend using php for stuff like that, as validation usually happens on the server side:
for e-mail: FILTER_VALIDATE_EMAIL,
for ip: FILTER_VALIDATE_IP,
for url: FILTER_VALIDATE_URL.
saves you a lot of time.
0
Thanks for your answer. i know i could use php for this. But it also has it's struggles.
Anyway, this was just an idea to learn more about jQuery.
ps. i already created some php web pages where i used the php verifications in addition with regex.