jQuery.NameSpace
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/jQueryNameSpace
软件介绍
Easy way to create a namespace structure
This plugin works for you to provide for your code a structure on namespaces.
The Example:
<script language="JavaScript">
<!--
$.namespace("validate", {
isFullName: function(elems){
return elems.val().indexOf(" ") > -1;
},
isNick: function(elems){
return elems.val().indexOf(" ") == -1;
},
isEmail: function(elems){
return elems.val().match(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/);// erro;
}
});
checkFullName = function(){
($("#myFullName").validate.isFullName())? alert('Valid'): alert('invalid');
}Plugin page:
http://gsaraiva.projects.pro.br/?page_id=52
My site:
http://gsaraiva.projects.pro.br/
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
SHA 加密
SHA 加密工具
