我有一个显示表单的JQuery UI对话框弹出窗口.通过在表格上 Select 某些选项,新选项将出现在表格中,使其变得更高.这可能导致主页有一个滚动条,而JQuery UI对话框有一个滚动条.这两个滚动条场景对于用户来说既难看又令人困惑.
How can I make the JQuery UI dialog grow (and possibly shrink) to always fit its contents without showing a scrollbar? I would prefer that only a scrollbar on the main page is visible.