Form Validation using JavaScript

后端 未结 5 1220
-上瘾入骨i
-上瘾入骨i 2021-01-25 02:44

I\'m trying to validate a form using JavaScript but i\'m a bit stuck on displaying a message next to the field to say that \"This field is required\". How do I go about doing th

5条回答
  •  清歌不尽
    2021-01-25 03:30

    I looked at the jQuery code. Looks like thousands of lines of code for some relatively simple validation. I would not recommend using the plugin for some simple validation - it is overkill.

提交回复
热议问题