Prev Previous Post   Next Post Next
Old 20th June 2009, 12: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
 
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump