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.
>
>

Reply via email to