如何刷新一个div? [英] How to refresh a div?
本文介绍了如何刷新一个div?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢。
解决方案
使用AJAX。
如果你使用jQuery,它就像 Most of the examples I have found explain how to refresh a div with text or with another page. I just want to reload the div again after click on a button. How can I do this using javascript? Thanks. With AJAX. If you use jQuery, it's as simple as 这篇关于如何刷新一个div?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! $('#mydiv')一样简单。 $ b
解决方案 $('#mydiv').load(url)
查看全文