modulejs 介绍
modulejs是极致模块化的且面向对象的javascript框架,modulejs能让你在简单易用的前提下写出更佳维护性和可重用性的javascript代码。
Features:
- HTML document query/traversing/manipulation
- Lightweight selector engine
- Event handling
- Animation
- Cookie/localStorage storage
- Language extensions
- Ajax/JSONP request
- Template engine
- Rich utility class
modulejs 兼容全部主流浏览器 Internet Explorer 6+, Firefox 2+ (and browsers based on
gecko) Chrome 4+, Safari 3+ and Opera 9+.
modulejs quick example:
var ajax = module("net.Ajax").ajax; ajax({ url:"localhost/ajaxdemo.PHP", //提交地址 form:"formName", //表单名称 timeout: 200, //过期时间 success: function(response){ //成功后回调函数 console.log(response); } });
modulejs 官网
http://madscript.com/modulejs/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。