# Javascript--GetElementsbyClass

**URL:** <https://forum.kirupa.com/t/javascript-getelementsbyclass/147251>\
**Category:** Uncategorized\
**Created:** [May 8, 2005, 9:46pm UTC](https://forum.kirupa.com/t/javascript-getelementsbyclass/147251 "2005-05-08T21:46:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NANO3](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@NANO3](https://forum.kirupa.com/u/NANO3)\
**Post date:** [May 8, 2005, 9:46pm UTC](https://forum.kirupa.com/t/javascript-getelementsbyclass/147251/1 "2005-05-08T21:46:13Z")

</div>

hello!

i am making a [weather fetcher](http://liquid.atpx.net/lab/weather)

the user inputs their zip code, then the php creates a link to weather .com then redirects to the link…

i want to use the getelementsbyclass javascript to “scrape” the div class from [weather.com](http://weather.com) and put it on my site…

the div class=obsTempTextA and can be found on [http://weather.com/weather/local/12345](http://weather.com/weather/local/12345)

i want to get the table which shows the temp…
