In jQuery dialog there is textbox containing variable length text ... I want to textview to adjust it's width within Dialog box (Scroller is displayed if textbox exceeds width of dialog and I don't want that scroller).. Text should be adjusted within textbox (there should not be any scroller) (Height problem)...
1 Answer
I believe this answers your question:
Automatically resize jQuery UI dialog to the width of the content loaded by ajax
$(".mydialog").dialog({
autoOpen: false,
resizable: false,
modal: true,
width:'auto'
});