首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一个简单的jQuery插件,增加了继续链接匹配只有条件评估真实的能力。

一个简单的jQuery插件,增加了继续链接匹配只有条件评估真实的能力。

资 源 简 介

ContinueIf plugin for jQuery New IF Plugin for jQuery replaces this plugin! You can find the new, more capable plugin at: http://jquery-if.googlecode.com/ The ContinueIf plugin was borne from the desire to make code more efficient, and integrate lines of code that were only split apart because of a conditional statement. For example, what if you were doing operations on a jQuery matched set, and had additional operations on that same matched set, but only if certain conditions were true? Normally, you would have two distinct sections of code: one for the code that always processes, and the other for the code that conditionally processes. The code would look something like this: ``` var $t = $("#myElement"); $t.doSomething(); if (myValue == 5) { $t.doSomethingElse(); } ``` Obviously, a real-world example typ

文 件 列 表

jquery.continueif.min.js
license.txt
readme.txt
changelog.txt
jquery.continueif.js
VIP VIP
0.181315s