简体   繁体   中英

ajax request not sent in IE6

I am developing a webpage with all actions handled as ajax.It works fine in firefox,IE 8,7.But in IE 6 no request is being sent to the sever.Why does this happen.I amusing jquery.getjson and jquery.colourbox methods to fetch data and display in colorbox.

 <a href="/account/change-pass/" class="t_2 cboxElement changepass">Change Password<span class=""></span></a> $('a.changepass').colorbox();

This is the html code and i need to open the contents of returned response in colorbox.This works fine with IE 7,8 and firefox.

I guess, this maybe a cache problem . IE try caching everything requested from a url.

if u request the same url for 2nd time, ie will return the old data by 1st request without any network.

to solv ie's url cache, adding a "?" or current timestamp param to request url.

http://abc.com/ajax?t=123455

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