JQuery Questine
JQuery Questine
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- uan0
if you can address it as object maybe something like this
. pluginName . option3 = (function option3() {
if ($("selector") . hasClass("whatever")) {
return value X;
} else {
return value Y;
}
} ) ();