貨號:YT6481
品名:小動物旋轉推車
材料:椴木
產品尺寸:20*18*25
外箱尺寸:56*42*52
包裝方式:彩盒
<script src="http://detail.b2b.hc360.com/detail/scripts/ajax/prototype.js" type="text/javascript">script>
<script language="javascript" type="text/javascript">
//var url = 'http://detail.b2b.hc360.com/detail/turbine/action/sendbusnote.SendBusnoteAction/eventsubmit_dosendbusnote/doSendbusnote';
//var url = 'http://detail.b2b.hc360.com/detail/turbine/template/shop%2Casync%2Cbusnoteresult.html';
var url = 'http://b2b.hc360.com/action/shop,async,busnoteresult.html';
function sendIsOnline(){
var content=document.getElementById('busnotecontent').value;
var vaildcode=document.getElementById("vaildcode").value;
var LoginTicket=document.getElementById("LoginTicket").value;
if(content==""){
alert("請填寫留言內容!");
return false;
}
if (content.length>2000){
alert("留言內容不能超過2000個字!");
return false;
}
if (vaildcode==""){
alert("請填寫驗證碼!");
return false;
}
if (vaildcode.length!=4){
alert("請正確填寫4位驗證碼!");
return false;
}
var myAjax = new Ajax.Request( url, {
method: 'post',
parameters: {validcode:vaildcode,content:content,sendcontacter:'應鶯',corname:'浙江和信玩具有限公司',
email:'yiwu@hexin.com',tel:'86-579-85197070',infoid:'61711624',infotype:'0',recvproviderid:'100000000276',sendproviderid:'100000000276',title:'供應木制益智兒童玩具 小動物旋轉推車',
LoginTicket:LoginTicket},
onComplete: function(req){
ret=req.responseXML;
parxmlrs(ret);
},
onException:function(e){alert('系統故障暫時無法返回正確結果,請您稍后再試試');}
});
}
function sendNotOnline(){
var vaildcode=document.getElementById("vaildcode").value;
var content=document.getElementById('busnotecontent').value;
var sendcontacter = document.getElementById('busnoteyourname').value;
var corname = document.getElementById('busnotecorname').value;
var email = document.getElementById('busnoteemail').value;
var tel = document.getElementById('busnotetel').value;
var LoginTicket=document.getElementById("LoginTicket").value;
if(sendcontacter==""){
alert("請輸入您的姓名!");
return false;
}
if(sendcontacter.length>31){
alert("您輸入的姓名太長,請不要超過30個字!");
return false;
}
if(corname.length>51){
alert("您輸入的公司名稱太長,請不要超過50個字!");
return false;
}
if(email==""){
alert("請輸入您的電子郵件!");
return false;
}
if(email.length>51){
alert("您輸入的Email太長,請不要超過50個字!");
return false;
}
if(content==""){
alert("請填寫留言內容!");
return false;
}
if (content.length>2000){
alert("留言內容不能超過2000個字!");
return false;
}
if (vaildcode==""){
alert("請填寫驗證碼!");
return false;
}
if (vaildcode.length!=4){
alert("請正確填寫4位驗證碼!");
return false;
}
var myAjax = new Ajax.Request( url, {
method: 'post',
parameters: {validcode:vaildcode,content:content,sendcontacter:sendcontacter,corname:corname,
email:email,tel:tel,infoid:'61711624',infotype:'0',recvproviderid:'100000000276',sendproviderid:'0',title:'供應木制益智兒童玩具 小動物旋轉推車',
LoginTicket:LoginTicket},
onComplete: function(req){
ret=req.responseXML;
parxmlrs(ret);
},
onException:function(e){alert('系統故障暫時無法返回正確結果,請您稍后再試試'+e);}
});
}
function parxmlrs(obj){
var busnoters=obj.getElementsByTagName('busnoteresult');
var tckey = busnoters[0].getElementsByTagName('key')[0].firstChild.data;
var tcvalue = busnoters[0].getElementsByTagName('value')[0].firstChild.data;
var status = busnoters[0].getElementsByTagName('status')[0].firstChild.data;
var returninfo = busnoters[0].getElementsByTagName('returninfo')[0].firstChild.data;
if(status == 1){
document.getElementById("vaildcode").value="";
document.getElementById('busnotecontent').value="";
document.getElementById('LoginTicket').value = tckey;
var newsrc = 'http://my.b2b.hc360.com/my/ValidImage.jsp?Seed='+tcvalue;
document.getElementById('validimg').src = newsrc;
alert("發送留言成功");
}
else{
document.getElementById("vaildcode").value="";
document.getElementById('LoginTicket').value = tckey;
var newsrc = 'http://my.b2b.hc360.com/my/ValidImage.jsp?Seed='+tcvalue;
document.getElementById('validimg').src = newsrc;
alert(returninfo);
}
}
script>