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?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to