I want to display a message to people ordering from Canada right when they use the shipping calculator. I tried to do this using Jquery but something is wrong with the ShopSite generated form -- I think it doesn't like that it simply says "selected" and not "selected='selected'". It also doesn't have an ID which would be nice.
I've tried looking for a javascript variable (ss_country) to find out what the country is when the shopping cart page reloads after calculating shipping, but it seems the ship to country is only available on the thank you page? ???
Any help would be greatly appreciated...
Accessing country dropdown value in cart via JavaScript
Accessing country dropdown value in cart via JavaScript
Brandon Eley
[i]Certified ShopSite Designer[/i]
[i]Certified ShopSite Designer[/i]
Re: Accessing country dropdown value in cart via JavaScript
I don't know about jquery, but here is an example of straight JavaScript that may do what you are looking for:
http://support.lexiconn.com/news/viewtopic.php?t=289
-Loren
http://support.lexiconn.com/news/viewtopic.php?t=289
-Loren
Re: Accessing country dropdown value in cart via JavaScript
That worked great, thanks Loren!
Brandon Eley
[i]Certified ShopSite Designer[/i]
[i]Certified ShopSite Designer[/i]