please help me!!
i have creaate a currency converter with a small table to enter all the value but when the value arrived in the textbox it does not change, but when i put it manually it work don't know what to do
With no code to go by, I can only guess...
Your textbox is probably firing your "calculate" function using the onchange or onblur attribute. If your page supports putting a value into the field automatically (e.g., from a URL parameter), then you must fire the "calculate" function when the page loads too.
Presuming the above is correct...
You can a call to the function when your page loads several different ways. At the bottom of your page inside a script tag, call the function in the <body onload="calculate()">, inside a "window.load", etc.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)