jQuery.NameSpace

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-12 21:13:54

软件介绍

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/

本文地址:https://www.codercto.com/soft/d/23249.html

Python网络数据采集

Python网络数据采集

米切尔 (Ryan Mitchell) / 陶俊杰、陈小莉 / 人民邮电出版社 / 2016-3-1 / CNY 59.00

本书采用简洁强大的Python语言,介绍了网络数据采集,并为采集新式网络中的各种数据类型提供了全面的指导。第一部分重点介绍网络数据采集的基本原理:如何用Python从网络服务器请求信息,如何对服务器的响应进行基本处理,以及如何以自动化手段与网站进行交互。第二部分介绍如何用网络爬虫测试网站,自动化处理,以及如何通过更多的方式接入网络。一起来看看 《Python网络数据采集》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具