Thread: Scrapping
View Single Post
Old 09-25-2012, 07:24 PM   PM User | #4
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 941
Thanks: 7
Thanked 95 Times in 95 Posts
WolfShade is an unknown quantity at this point
AJaX via jQuery documentation can be found here.

AJaX without jQuery can be found here.

I'm not going to write the code, for you. This forum is for helping troubleshoot erroneous code. I prefer the non-jQuery route, but that's your choice. If you go non-jQ, write up your xhr (XMLHttpRequest), call the Page1.html to get the code and put it in a string, then use JS RegEx to get the start and end position of the code you want and use substr() to get that and put it into a string. Then give the element you want to display the data an id and document.getElementById("name").innerHTML = that string.
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Users who have thanked WolfShade for this post:
gatoraid (09-25-2012)