简体   繁体   English

jQuery UI->处理动态内容?

[英]jQuery UI -> handling dynamic content?

I'm trying to use a dynamic, single dialog that changes based on ajax calls. 我正在尝试使用基于ajax调用而变化的动态单一对话框。 Is there any elegant way to change the height and width based on the new content? 有什么优雅的方法可以根据新内容更改高度和宽度? Currently, I have an empty div which is filled, causing problems. 当前,我有一个空的div,它已填充,导致出现问题。

Help? 救命?

只要您没有数据就不弹出对话框,就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM