Retrieve jquery-ui dialog's div
        Posted  
        
            by 
                Hikari
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Hikari
        
        
        
        Published on 2013-07-03T15:49:07Z
        Indexed on 
            2013/07/03
            17:05 UTC
        
        
        Read the original article
        Hit count: 473
        
When we apply $().dialog() in an object, jquery-ui puts it inside a <div class="ui-dialog ui-widget">, with a <div class="ui-dialog-titlebar ui-widget-header"> before it.
After the creation of this dialog around the main object, how can we get that ui-dialog object so that we can execute other JavaScript commands in it?
The best I could do was use .parent(".ui-dialog") in the main object, is there a better way to do it?
© Stack Overflow or respective owner