Hi all
On our pages, the "Items in Cart" and "Cart value" doesn't display in IE on the Mac . It works in IE on the PC, and in Mozilla and Opera on both platforms. Any ideas on how to make this work? Or will I have to put a bit of code in to hide it if it's running on the errant browser?
I modified the code a touch (since we don't always want to display in the same currency) but it doesn't throw up any JS errors and like I said, it works everywhere else:
<script language="JavaScript">
var valItems = getCartItem(1);
valItems = valItems.toString().substr(5); // Strip off the &#xxx; (dollar sign)
document.write("Items in cart: " + getCartItem(3)+" "); // "Items in cart" was:NETQUOTEVAR:CARTCOOKIEITEMS
document.write("Cart value: £" + valItems); // "Cart value" was: NETQUOTEVAR:CARTCOOKIEVALUE
</script>
Cheers
On our pages, the "Items in Cart" and "Cart value" doesn't display in IE on the Mac . It works in IE on the PC, and in Mozilla and Opera on both platforms. Any ideas on how to make this work? Or will I have to put a bit of code in to hide it if it's running on the errant browser?
I modified the code a touch (since we don't always want to display in the same currency) but it doesn't throw up any JS errors and like I said, it works everywhere else:
<script language="JavaScript">
var valItems = getCartItem(1);
valItems = valItems.toString().substr(5); // Strip off the &#xxx; (dollar sign)
document.write("Items in cart: " + getCartItem(3)+" "); // "Items in cart" was:NETQUOTEVAR:CARTCOOKIEITEMS
document.write("Cart value: £" + valItems); // "Cart value" was: NETQUOTEVAR:CARTCOOKIEVALUE
</script>
Cheers
Comment