ThisisLegal.com

ThisisLegal Forums

Welcome to the forums! A chance for site members to chat and get help.

You are not logged in.

#1 2008-10-07 19:49:52

sam207
Member
Registered: 2008-03-17
Posts: 90

Some JS help

My question is how can I pull data from external html/php file & insert into my own page..
I mean there is a page with frames & now I need to get some data from the body part & insert it into my own page. How can I do it in JS??


Offline due to lack of time...

Offline

#2 2008-10-08 04:39:20

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: Some JS help

Im pretty sure this cant be done with javascript frown in php you can do <br /><br />file_get_contents<br /><br />if the php host allows it. Ours doesnt, or i would have a youtube video downloader and myspace and other things hosted on the site by now


Site admin

Offline

#3 2008-10-08 05:33:24

sam207
Member
Registered: 2008-03-17
Posts: 90

Re: Some JS help

I heard something about body.innerhtml function but I don't know much about it..


Offline due to lack of time...

Offline

#4 2010-05-02 02:50:41

xen
Member
Registered: 2010-03-14
Posts: 35

Re: Some JS help

i think its possible, and kinda know what your getting at..
the page with your javascript needs to have a frame, the javascript gets the frame to load to external page, the javascript then gets the needed data from the frame.
i'll have a play later.

Offline

Board footer

Powered by FluxBB