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/
Hibernate
James Elliott / O'Reilly Media, Inc. / 2004-05-10 / USD 24.95
Do you enjoy writing software, except for the database code? Hibernate:A Developer's Notebook is for you. Database experts may enjoy fiddling with SQL, but you don't have to--the rest of the appl......一起来看看 《Hibernate》 这本书的介绍吧!
Base64 编码/解码
Base64 编码/解码
html转js在线工具
html转js在线工具
