jquery插件获取事件类型
摘要:
//需要在使用函数时传入event关键字$('[name=lprice]').change(function(event){ $('[name=lprice]').validate({ event:event, }); })在函数中获取(function ( $ ) { var id=33;$.fn.validate=function(options){ // This is the easiest way to have default options. var settings = $.extend({ ... 阅读全文
posted @ 2014-01-02 11:07 左小兵 阅读(244) 评论(0) 推荐(0) 编辑