Use of the data method to modify options for UI plugins has been
deprecated.  We have introduced an option method in its place, which
is much more flexible and provides exactly what you want:

$(el).dialog('option', { ... });

This method works just like .attr() and .css().

On Jan 29, 8:17 pm, jack <[email protected]> wrote:
> Is taht possible to set dialog data by using $('#dlg_1').data('xxx',
> {'title': 'zzzz', 'width': '200px', 'height': '300px'});
>
> instead of doing like ...
>
> $('#dlg_1').data('title.dialog', 'zzz')
> .data('width.dialog', '200px')
> .data('height.dialog', '300px');
--~--~---------~--~----~------------~-------~--~----~
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