资 源 简 介
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