Jump to content


Multiple Currency question

  • This topic is locked This topic is locked
21 replies to this topic

#21 Mike D

Mike D


  • Members
  • Pip
  • 2 posts

Posted 11 March 2003 - 07:43 PM

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:
<BODY onLoad="document.currency.a3.value=cost[0];">
(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.


#22 jc



  • Members
  • Pip
  • 6 posts

Posted 24 April 2003 - 11:32 AM

<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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users