I have a jQuery Dialog box and Am loading the content using Ajax.
The Dialog is initially in the center of the page. The problem , here is , Since its a dynamic con
I was looking for a simple solution and realized that my graph wasn't finished "drawing" before opening the dialog so I enclosed the .dialog('open') command in a setTimeout function.
setTimeout(function () {
$('#pie-Admin-Summary-dialog').dialog('open');
}, 500);
You can play with the timing. I opted for 1/2 second.