Hi
I want to hide the 'x' button on the dialog dynamically.
Is there a good way to do it? or is there a setting? i couldnt find one.
All i can think of is doing something like
$(".ui-dialog-titlebar-close").css("display", "none");
However I dont think this is a good way. And if i have more than one dialog
on the page then all 'x' buttons will disappear.
It is true that if I want to hide it, its most likely that I will want hide
it on every dialog instance and therefore i can chance the css directly.
However, what if I really need to do it dynamically?

Thanks

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