Click to See Complete Forum and Search --> : Javascript Parsing


rsherard3
10-20-2003, 05:45 PM
I'm hoping someone can help me. I have been searching everywhere on this. I am trying to write a script that will go to a web page that displays the following:

SANA10 KAWN 202200 RRA
METAR RJTY 202155Z 26004KT 9999 FEW035 SCT050 BKN200 11/07 A3015 RMK
SCT050 V BKN WND DATA ESTMD SLP210 8/501 9/405

What I need the script to do is go through and create a variable based on what the web page loads, i.e. var icao would need to be RJTY. The script would go through and assign that variable based on what is found on the other page. I am lost on this one. Any help would be greatly appreciated. Thank you!!!

Jona
10-20-2003, 11:05 PM
JavaScript cannot get HTML code from other documents. You must use a server-side language to do that...

[J]ona