This question is an exact duplicate of:
It was on hold for over 1.5 hour even after I made changes, so here again.
I am making a money exchange website. On my homepage there will be 2 fields, The first field is a Bitcoin field and the other is a $ field. I want to do the following:
If a visitor enters an amount in the "Bitcoin" field then the value of that bitcoin should be appeared in the $ field in dollars, by taking the data from mtgox.com + my compensation.
A good example of this is the following site: https://bitonic.nl/
Someone goes to the website and enters an amount on one of the fields and the other field is calculated automatically.
Does someone have a code ready to do this