Jquery Select Validation

I am trying to validate this select / drop down. I am not getting an error, but the validation is not ocurring. I am using the validation for other fields, which is working fine. Here is my jquery and the select which doesnt want to seem to validate: $().ready(function() { $("#cancelForm").validate({ debug: false, errorClass: "authError", errorElement: "span", rules: { inputString: "required", notes: "required", end_time: {required: true} }, messages: { inputString: "Please enter the membername", notes: "Please enter the notes", end_time: "Please select a time" } }); }); Here is my select:
Thanks in advance for taking a look at my issue.
I am not seeing your problem: jsfiddle.net/nnxtG. Validating a select should work fine...

以上就是Jquery Select Validation的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏