I've been working with the Dialog UI (v 1.5.3 - I have to run the most
stable) and can not set or get the options once the Dialog has been
initialized. It doesn't throw an error; however, none of the options
take effect.

Initialization line:
$("#nested").dialog({autoOpen: false, modal: true,  overlay:
{backgroundColor: '#000', opacity: 0.5}});

Setting an option after initialization:
$('#nested').dialog("option","width", 600);

The first line works perfectly and later on when the second line is
executed to change the width nothing happens. I have also tried to get
the value of an option and instead of returning the value I just get
an object.

Initialization line:
$('#nested').dialog({width: 600});

Trying to retrieve value:
alert($('#nested').dialog('option','width'));

The retrieve line doesn't return a value, instead returns [object
Object]. Any help would be appreciated.



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