a quick plugin to do a simple if statement?

if ($(img).length > 0) {
       $(img).doSomething();
}

Reply via email to