Home  >  Article  >  Backend Development  >  AJAX重复加载的有关问题

AJAX重复加载的有关问题

WBOY
WBOYOriginal
2016-06-13 13:29:24849browse

AJAX重复加载的问题
鼠标经过某个图标就 触发AJAX并加载一个小页面,问题是 加载完后鼠标在经过那图标又重新加载 有没有方法加载完一次后在也不加载?各位大大们请教

------解决方案--------------------
加载之前判断“小页面”是否存在(空),非的情况下,再发请求。

Statement:
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