简体   繁体   中英

jquery ui-dialog move from bottom of page to a div

Iam using ui-dialog ,by default it's a fixed and i get the html code at the end of page before directly , how can i force it to append in a

 <div class="container"></div>

without to be fixed in page

看截图

Give your .container an id, then you can use:

appendTo: "#yourContainingElement"

The default is to append it to the body.

See the docs: http://api.jqueryui.com/dialog/#options

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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