Results 1 to 2 of 2

Thread: please help me!!

  1. #1
    Join Date
    May 2012

    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

  2. #2
    Join Date
    Nov 2007
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center