Accessing a var from another function..
Hi,
I'm trying to figure out how to access a var defined within a
function.
$.fn.myFunction = function() {
var defaults = jQuery.extend({
optionOne: foo
},defaults);
return this.each(function() {
var optionTwo = bar;
});
};
How can I access 'defaults.optionOne' and optionTwo from outside
myFunction?