YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

2 Pages <12
Multiple Currency question Options
Mike D
#21 Posted : Wednesday, March 12, 2003 12:43:23 AM
Rank: Starting Member

Groups: Registered

Joined: 3/12/2003
Posts: 2
Location: ,
The solution jc has provided for multi-currency support is just what I've been looking for, but I found a bug in the code that is easily fixed. If you select a currency other than the first one (US Dollars) then the appropriate amount is displayed. However, if the user then clicks the browser's Refresh button then the combo box is reset to US Dollars but the amount remains unchanged, ie it does not display the US dollar amount.

In my web page (which I haven't uploaded yet, but will do so shortly) I have fixed this by changing:
&lt;BODY&gt;
to:
&lt;BODY onLoad="document.currency.a3.value=cost[0];"&gt;
(using the form and field names supplied)

The amount field now gets refreshed to the US dollar amount to match the refreshed combo box value. I have only tried this with IE 6.0.

Mike
jc
#22 Posted : Thursday, April 24, 2003 4:32:04 PM
Rank: Starting Member

Groups: Registered

Joined: 12/24/2002
Posts: 6
Location: ,
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by jc
[br]take a look at

http://www.newscoop.co.uk/paypal.htm for a solution

<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Thanks Mike, the code has been updated to fix the 'refresh page' problem.
Users browsing this topic
Guest
2 Pages <12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.121 seconds.