How to show variable length text in fixed width textbox in jquery dialog
The jQuery dialog has a textbox containing variable length text ... I want the textview to adjust its width in the dialog (Scroller is displayed if the textbox is larger than the width of the dialog and I don't want a scroller). The text should be adjusted in the textbox (there shouldn't be any scroller) (height issue) ...
+3
source to share
1 answer
I believe this answers your question:
Automatically resize jQuery UI dialog to the width of ajax loaded content
$(".mydialog").dialog({
autoOpen: false,
resizable: false,
modal: true,
width:'auto'
});
0
source to share