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

Hello.
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>
<script>
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(",");
alert(body);

}
</script>
<iframe id ='myframe' src='http://s2.myradiostream.com:10440/7.html'></iframe>

But this script is not working/ Any ideas?

Linux is our friend!
POMATu is offline   Reply With Quote