danielwarner
01-24-2009, 04:44 PM
Hi,
What I need to do is when the page loads, focus on a select option asif the user clicked the option..
I have limited ability to edit the script i'm trying to fix but essentially i have the code
<select name="country"><option value="uk">United Kingdom</option></select>
The old select menu used to have every country as a shipping option but i have managed to strip it down to 1 country. In order to add the shipping to the order you need to physically select the country (because the price which shows up on the cart page is driven by an "onchange" event i think).
So the best way i can think around this would be to select the option onload maybe?
Im not entirely sure but i bet its probably just a 1 line fix.
Like i said, i have limited ability to edit code. I can edit the raw html (parts of) of that page but i cant change any of the javascript, ajax, php etc...
Thanks.
http://www.sailorjerrystore.co.uk (try adding the first product in the catalogue to the cart and you will understand the shipping problem.)
What I need to do is when the page loads, focus on a select option asif the user clicked the option..
I have limited ability to edit the script i'm trying to fix but essentially i have the code
<select name="country"><option value="uk">United Kingdom</option></select>
The old select menu used to have every country as a shipping option but i have managed to strip it down to 1 country. In order to add the shipping to the order you need to physically select the country (because the price which shows up on the cart page is driven by an "onchange" event i think).
So the best way i can think around this would be to select the option onload maybe?
Im not entirely sure but i bet its probably just a 1 line fix.
Like i said, i have limited ability to edit code. I can edit the raw html (parts of) of that page but i cant change any of the javascript, ajax, php etc...
Thanks.
http://www.sailorjerrystore.co.uk (try adding the first product in the catalogue to the cart and you will understand the shipping problem.)