Automatically resize jQuery UI dialog to the width of the content loaded by ajax
I’ve just wrote a tiny sample app using JQuery 1.4.1 and UI 1.8rc1. All I did was specify the constructor as: var theDialog = $(“.mydialog”).dialog({ autoOpen: false, resizable: false, modal: true, width:’auto’ }); I know you said that this makes it take up 100% width of the browser window but it works sweet here, tested … Read more