摘要: 以jQuery插件开发的方法开发。具体代码如下:jQuery.fn.extend({ /** * ctrl+enter提交表单 * @param {Function} fn 操作后执行的函数 * @param {Object} thisObj 指针作用域 */ ctrlSubmit:function(fn,thisObj){ var obj = thisObj || this; var stat = false; return this.each(function(){ $(this)... 阅读全文
posted @ 2012-03-03 15:27 mfylee 阅读(3540) 评论(4) 推荐(3)