//该函数用来创建AJAX
function createAjax() {
var _xmlhttp;
try {
_xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
try {
_xmlhttp=new XMLHttpRequest();
}
catch (e) {
_xmlhttp=false;
}
}
return _xmlhttp;
}
//该函数用来获取列表数据<注意nocache=new Date().getTime()去除缓存>
function getTable(num,dotype) {
var xmlhttp=createAjax();
if (xmlhttp) {
xmlhttp.open(get,'[url]http://www.yjzzj.com/[/url]flashsay/?do= mydo &ampnocache= new Date().getTime(),true);
xmlhttp0.onreadystatechange=function() {
if (xmlhttp0.readyState==4 && xmlhttp0.status==200) {
...
}
else {
...
}
}
}
}
function createAjax() {
var _xmlhttp;
try {
_xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
try {
_xmlhttp=new XMLHttpRequest();
}
catch (e) {
_xmlhttp=false;
}
}
return _xmlhttp;
}
//该函数用来获取列表数据<注意nocache=new Date().getTime()去除缓存>
function getTable(num,dotype) {
var xmlhttp=createAjax();
if (xmlhttp) {
xmlhttp.open(get,'[url]http://www.yjzzj.com/[/url]flashsay/?do= mydo &ampnocache= new Date().getTime(),true);
xmlhttp0.onreadystatechange=function() {
if (xmlhttp0.readyState==4 && xmlhttp0.status==200) {
...
}
else {
...
}
}
}
}