$("#left article .t").each(function(){ $(this).nextAll().hide(); $(this).click(function(){ $(this).nextAll().slideToggle ...
阅读全文jquery代码
jQuery.fn.imageAutoSize = function(w) { $(this).each(function() { var image = $(this); var ow = image.width(); var oh = ...
阅读全文/*! * copyright c by zhangxinxu 2012-02-06 * jquery.placeholder.js placeholder属性模拟插件 * v1.0 2012-02-06 create * v1.2 201 ...
阅读全文$(function () { Application.init (); }); var Application = function () { var validationRules = getValidationRules (); re ...
阅读全文$(function() { var $div_li = $(".tab-menu li"); $div_li.click(function() { $(this).addClass("selected"). ...
阅读全文