As of 1.6, there is also a new option method for getting/setting
options. This method deprecates the use of .data() for accessing the
options of UI plugins.
$(el).dialog('option', optionName, optionValue);
On Sep 27, 5:34 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> This is part of the jQuery UI API. All UI plugins can have ALL options get
> or set after initialization by the .data("optionname.pluginname", value) or
> it should be considered a bug. So the option name and valid argument values
> are already document in the options of each plugin. We have at least one
> docs page that mentions this already:
>
> http://docs.jquery.com/UI/Guidelines
>
> but it's really written for a developer that's creating a UI plugin, not
> using one. Looks like we need a good user-directed getting started guide.
>
> - Richard
>
> On Sat, Sep 27, 2008 at 5:08 AM, Olive <[EMAIL PROTECTED]> wrote:
>
> > OK, thanks.
>
> > Then, how doc could be updated to tell about data() method and
> > arguments ?
>
> > Olivier.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---