3

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)...

Swapnil Godambe
  • 2,054
  • 1
  • 24
  • 29

1 Answers1

0

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'
});
Community
  • 1
  • 1
3dgoo
  • 15,716
  • 6
  • 46
  • 58