View Single Post
Old 20th June 2009, 11:24   #1
Junior Member
Join Date: Jun 2009
Location: Russia
Posts: 15
Send a message via ICQ to POMATu
Parse 7.html with javascript

My free hosting doesnt support fsockopen, get, and allow_url_fopen. I know that I can parse the 7.html with javascript.

<button onclick='get()'>get</button>
function get(){
var iframe = document.getElementById("myframe");
var txt = iframe.contentWindow.document.body.innerHTML;
var body = myiframe.contentWindow.document.body.innerText;
var myArr = body.split(",");

<iframe id ='myframe' src=''></iframe>

But this script is not working/ Any ideas?

Linux is our friend!
POMATu is offline   Reply With Quote