close
TIMEX 手錶 精品、珠寶、手錶 特價 72
推薦
|
| |
} else if(document.getElementById("gdbox" + gdId).getAttributeNode("class").value.indexOf("BestChoice6") >= 0) { document.getElementById("gdbox" + gdId).getAttributeNode("class").value = "BestChoice6-24hrC"; } } if(document.getElementById("chkbox_" + gdId) && (status == "0" || status == "1")) | { document.getElementById("chkbox_" + gdId).checked = true; } } } } function getCookieArray(cookieStr) { | |
var cookieArray = cookieStr.split(","); return cookieArray; } function updateArrayValue(cookieArray, idx, value) { if (cookieArray.length >= idx) { cookieArray[idx] = value; | } return cookieArray; } function updateShoppingCartTotal(cookieStr, totalNum, totalPrice) { var cartArray = cookieStr.split(","); if (cartArray instanceof Array) { if (cartArray.length >= 8 ) cartArray[8] = totalNum; | if (cartArray.length >= 9 ) cartArray[9] = totalPrice; return cartArray.join(","); } else { return cookieStr; } } |
全站熱搜
留言列表