Title: Search parent of a popup dialog Post by: arawak on July 08, 2014, 06:05:31 AM Hi,
I display the popup dialog like this: Code: $('#popup').panel({ In the code 'url', I would like to know the id of the panel container. If I ask: Code: $('# dialog').parent(); Code: $('# dialog').dialog ('panel'); the answer is'' How to find '#popup' ? thank you Excuse me for my approximate English ... ... Title: Re: Search parent of a popup dialog Post by: stworthy on July 08, 2014, 03:12:01 PM To get a dialog's parent container, try this:
Code: var d = $('#dialog'); Title: Re: Search parent of a popup dialog Post by: arawak on July 09, 2014, 12:30:40 AM Thank you for this answer, but if I put the property 'inline' is true, the dialog is no longer centered in the window and is no longer modal.
How to solve these problems? |