[jQuery] How can I scan the whole page of the website then put the correct data to each variables?

2009-02-22 Thread rhhhmon
Hey guys, So here's my problem. I want to scan the whole page of the website. I'm trying to locate 2 datas, then I will put each data into a separate variable. var listitem, thislist, itemname1, itemname2; listitem = getElementsByClass('-list-item'); for(var i = 0; i < listitem.length; i++) {

[jQuery] How can I scan the whole page of the website then put the correct data to each variables?

2009-02-22 Thread rhhhmon
Hey guys, So here's my problem. I want to scan the whole page of the website. I'm trying to locate 2 datas, then I will put each data into a separate variable. var listitem, thislist, itemname1, itemname2; listitem = getElementsByClass('-list-item'); for(var i = 0; i < listitem.length; i++) {