Unobtrusivelib 介绍
Unobtrusivelib is a collection of small javascripts behaviors intended to
replace the presence of script in the body of pages, as to open a popup or
cleaning out a form field on the focus.
To enable all modules, we call the jQuery.unobtrusivelib() method on the
“document ready” event:
jQuery(function(){ jQuery.unobtrusivelib(); });
It is also possible to list only the modules used in an array:
jQuery(function(){ jQuery.unobtrusivelib(["inputAutoFocus", "inputAutoClear", "popup", "external"]); });
Unobtrusivelib 官网
http://plugins.jquery.com/project/unobtrusivelib
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。