我的淘宝店[url]http://shop60787115.taobao.com/[/url]
try{
if(window.ActiveXObject)
codeRequest=new ActiveXObject("Microsoft.XMLHTTP");
else if(window.XMLHttpRequest)
codeRequest=new XMLHttpRequest();
else
codeRequest=new ActiveXObject("MSXML2.XMLHTTP");
}catch(e2){
return null;
}
initRequest();
codeRequest.onreadystatechange=function(){
var state = codeRequest.readyState;
switch(state){
case 0 : case 1 : case 2 : case 3 :
break;
case 4 :
var content = codeRequest.responseText;
if(content!=null){
var c = content.split('%');
var itemCount = c.length;
if(!isNaN(itemCount)){
var sb = "";
for(var i=0;i<itemCount;i++){
sb+='<li id=size_'+_id+'_'+c[i]+' οnclick=selectSize2('+_id+','+c[i]+')>'+c[i]+'< >';
}
document.getElementById("selectProductSize_"+_id).innerHTML = sb;
var hidSize = document.getElementById("hidSize_" + _id);
}
}
}
};
//简历对服务器的调用
codeRequest.open(method,url,true);
//发送请求
codeRequest.send(null);
我的淘货之家[url]http://taohuojia.taoke.bz/[/url]
try{
if(window.ActiveXObject)
codeRequest=new ActiveXObject("Microsoft.XMLHTTP");
else if(window.XMLHttpRequest)
codeRequest=new XMLHttpRequest();
else
codeRequest=new ActiveXObject("MSXML2.XMLHTTP");
}catch(e2){
return null;
}
initRequest();
codeRequest.onreadystatechange=function(){
var state = codeRequest.readyState;
switch(state){
case 0 : case 1 : case 2 : case 3 :
break;
case 4 :
var content = codeRequest.responseText;
if(content!=null){
var c = content.split('%');
var itemCount = c.length;
if(!isNaN(itemCount)){
var sb = "";
for(var i=0;i<itemCount;i++){
sb+='<li id=size_'+_id+'_'+c[i]+' οnclick=selectSize2('+_id+','+c[i]+')>'+c[i]+'< >';
}
document.getElementById("selectProductSize_"+_id).innerHTML = sb;
var hidSize = document.getElementById("hidSize_" + _id);
}
}
}
};
//简历对服务器的调用
codeRequest.open(method,url,true);
//发送请求
codeRequest.send(null);
我的淘货之家[url]http://taohuojia.taoke.bz/[/url]