Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java variables from http url

Status
Not open for further replies.

patriciaxxx

Programmer
Jan 30, 2012
277
GB
1. If you run this url:-

http--download.finance.yahoo.com-d-quotes.csvs=USDGBP=X&s=EURGBP=X&f=l1&e=.cs

2. You get this data (or the latest update):-

0.6219
0.8048

3. The following is an excerpt from my js file:-

var currency_data='USD,0.6219,0.01|EUR,0.8048,0.01';

4. What I need is for the data shown in (2) to appear in the js file shown in (3) exactly as it does above.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top