Wow, thanks Richard.  I would have never figured that one out on my own and
from my searching is not readily available in jQuery docs.

Cheers,
Chris


Richard D. Worth-2 wrote:
> 
> Getter:
> 
> var minHeight = $('#example_div').data("minHeight.resizable");
> 
> Setter:
> 
> $('#example_div').data("minWidth.resizable", 200);
> 
> - Richard
> 
> On Wed, Oct 8, 2008 at 2:11 PM, greenteam003 <[EMAIL PROTECTED]> wrote:
> 
>>
>>
>> Hi all,
>>
>> This may be a dumb question, but I can not find an example in the
>> archives
>> or in the jQuery docs.  Is it possible to access a ui widget's options
>> from
>> a global function?  For example, if I set up the following div to be
>> resizable...
>>
>>
>>     $('#example_div').resizable({minHeight:200,minWidth:200});
>>
>>
>> How could I read the "minHeight" and "minWidth" options used to init the
>> ui
>> object instance from the selector $('#example_div') ?
>> I can't see anything attached to the actual dom element in firebug and
>> don't
>> know where else to look.
>>
>> Thanks,
>> Chris
>> --
>> View this message in context:
>> http://www.nabble.com/UI-Instance-Options-tp19884303s27240p19884303.html
>> Sent from the jQuery General Discussion mailing list archive at
>> Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/UI-Instance-Options-tp19884303s27240p19886226.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to