View Single Post
Old 09-03-2011, 10:32 PM   #4 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

None :P I didn't need to get it. The javascript that fetched the string to insert into the DIV was already on the page, i.e. they didn't load it from a database or some PHP-script. They simply had it like:
Code:
<script>
getElementById("DIVELEMENT").innerText = "Text I wanted to fetch";
</script>
So I simply parsed that instead to get the text I wanted to fetch :)
Why they choose to do it like that, I have no idea but I don't mind. Made my day a lot easier!
__________________
Tanax is offline  
Reply With Quote