PDA

View Full Version : How to get values from a url's div class variable



amirak17
Aug 12th, 2007, 06:01 PM
How to get values from a url's div class variable:

for example:

if we want temperature value of Chicago IL from cnn.com/weather the url is:

http://weather.cnn.com/weather/forecast.jsp?locCode=ILRM&zipCode=60601

and under this url there is a div class variable:
cnnWeatherTempCurrent

this variable contains the value of the current temperature.

so using HTML or Javascript or PHP how can we get the value of this variable in our web page

Your help is highly appreciated.