UpdatePanel与Jquery的validate插件冲突解决.
摘要:asp.net中使用jquery的validate来进入数据检验的时侯.一般采用以下方式.$(document).ready(function() { $.validator.setDefaults({ debug: false, onfocusout: false }); $.metadata.setType("attr", "validate"); $("form").validate();}...
阅读全文
posted @
2010-04-27 14:12
lock
阅读(604)
推荐(0)
dropdownList选中
摘要:ddl.SelectedIndex = ddl.Items.IndexOf(ddl.Items.FindByValue("Value"));ddl:dropdownlist的控件名value:选中的值.
阅读全文
posted @
2010-04-26 16:43
lock
阅读(269)
推荐(0)
jQuery.validator.addMethod
摘要:You can create a simple rule by doing something like this:And then applying this like so:Just change the contents of the 'addMethod' to validate your checkboxes.link|flaganswered Oct 27 '08 at 19:56Ma...
阅读全文
posted @
2010-04-26 15:31
lock
阅读(1594)
推荐(0)