+ 1

wich one to use for form validation javaScript or jQuery ?!?!

javaScript jQuery

23rd May 2017, 8:04 AM
Vahan Soulian
Vahan Soulian - avatar
3 ответов
+ 8
Both, but stay away from framework if your project is small, they are not necessary.
23rd May 2017, 8:07 AM
Maz
Maz - avatar
0
you don't need jQuery for just form validation. use HTML5 "required" attribute with appropriate input types. although you need javascript for complex validation
23rd May 2017, 10:30 AM
Apel Mahmod
Apel Mahmod - avatar
0
There is nice tutorial for form building, validating and processing on w3schools.com. However, it is shown for backend purposes (fetching data from db) so a lot of it is done in php. For frontend only, if it is just form validating you can do it without framework as someone alredy mentioned.
23rd May 2017, 9:11 PM
Amar
Amar - avatar