How to pass arguments to plugin?
How to pass arguments to plugin?
Hi
$.fn.greenify =
function
() {
this
.css(
"color"
,
"green"
);
};
$(
"a"
).greenify();
How should I pass arguments to "greenify()?
Thanks
Varun
Topic Participants
varunbhatter
jakecigar
jtara-jquery
peter.aganyo