[jQuery] How to retrieve options of a plugin instance
Hello all,
I try to figure out how i can get options of an instance of a plugin i
created.
like:
$.fn.ic_image = function(opts)
{
var options = opts;
}
$('#instance1').ic_image({test: "test1"});
$('#instance2').ic_image({test: "test2"});
then i would like to get the options of $('#instance1')
Is this possible?
I have spend a few hours on it, but i can't find the solution, so any
help would be apriciated.