Hi Dave.
Thanks for this. You are right, it is a scaled down version, with the currency box a hidden field and a variable set using php to write it out at the top of the page that defaults the currency to pound. Then, when the change currency button is clicked the hidden field is updated...
I am trying to run a function that will change a currency symbol on a page depending on a variable value. I am failry new to javascript as my main language is PHP so be kind when you take apart my code!
Here is what i have tried to date:
<script>
function showSymbol(currentCurrencyUsed) {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.