Home > Backend Development > PHP Tutorial > ajax兑现不刷新装在网页

ajax兑现不刷新装在网页

WBOY
Release: 2016-06-13 10:45:32
Original
733 people have browsed it

ajax实现不刷新装在网页
A页面有一个DIV里有一个按钮,
怎样才能按这个按钮就能使这个DIV 更新成 XXX.PHP页面的内容???



------解决方案--------------------
ajax请求XXX.php 将 XXX.php填充DIV。或者用iframe试试 。
------解决方案--------------------
如果仅仅是这个要求,iframe就很理想了,而且比ajax简单
------解决方案--------------------
jquery.load()

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template