日期:2014-05-17  浏览次数:20516 次

jquery ajax本地有数据返回,上传到服务器也有数据返回.但是现在是数据过了一段时间就没有数据了.有没有人知道什么原因啊?
[前台脚本=html]
 function Ts_ajax() {
                         
                            $.get('ascx/ts_class_ajax.ashx', { cid: "0", num: "7" }, function (date) {
                                if (date != '') {
                                    document.getElementById('zxTs').innerHTML = date;
                                } else {
                                    document.getElementById('zxTs').innerHTML = "数据正在加载...";
                                }
                            });
                        }
[/code]


------解决方案--------------------
                            $.ajax({
                                type: "POST",
                                data: {
                                phone:yPhone.value.trim()
                            },
                            async: false,
                            cache: false,
                            url: "asyn/vmobile.aspx",
                            dataTyp