Is JavaScript validation bad?

后端 未结 14 1649
栀梦
栀梦 2021-02-01 11:56

It has been long time since we have been validating our forms using JavaScript. I am sure this must be the case with most other developers.

Question:

What if the

14条回答
  •  别那么骄傲
    2021-02-01 12:40

    Javascript validation is good because it provides a better user experience.

    You should however never rely on it and should validate on the server regardless.

提交回复
热议问题