ajax select 不同步有关问题

WBOY
Release: 2016-06-13 12:00:18
Original
1062 people have browsed it

ajax select 不同步问题


有两个SELECT  当改变第一个SELECT 里的选项时 向服务器请求数据 加载到SELECT2里  
这个功能是实现了  但是有个BUG 就是返回数据太慢  当选择完第一个SELECT后 再点SELECT2时
不能同步  通常要等个1-2秒 请问这个问题该怎么解决 新手 一枚 求大神帮帮忙
------解决方案--------------------
 

js封装的东西,放在服务端,js直接填充,请求一次服务端,客户端就完成填充,不用每次循环。

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