Jquery validation message not working

前端 未结 2 1566
北恋
北恋 2021-01-17 02:41

I want to use validation messages on a form, but when I click on the botton nothing happens and I don\'t know why. I have struggled with this problem for a while now and nob

2条回答
  •  庸人自扰
    2021-01-17 02:49

    Your code is valid, but you forget to add the validation plugin, you added the css file, but no the js file, you can downlad it from http://jqueryvalidation.org/, and just add the line:

    I tried it, and its working

提交回复
热议问题