Hi, is it possible to get information from another frame, or somehow save the contents of the frame to a text file?
What i have is a script in the topfram wich posts an external script and return the result in the main fram. And i want to get the text from the result and use it in the script.
Is it possibel?
Read text from another frame
Moderator: General Moderators
Re: Read text from another frame
hello,
If it would just be used as an internal application of your company and you have to use a standard browser then you can develop for that browser alone. Although there are codes out there to be able to work with different browsers but it would still be hard to tell though.
Ive got some idea of your problem. You have to have a form and submit that form, after filling the contents of that form from a different frame, through javascript so that the data would be posted and processed by the script.
You've got to use some javascript codes for that.
Regards,
Junrey
things like that is possible, maybe, depends on how you deal with it. You can use a lot of Javascript in that. Most browsers have different specifications as so with accessing those specifications with Javascript. So not all of your codes would work on different browsers.oscarr wrote:Hi, is it possible to get information from another frame, or somehow save the contents of the frame to a text file?
What i have is a script in the topfram wich posts an external script and return the result in the main fram. And i want to get the text from the result and use it in the script.
Is it possibel?
If it would just be used as an internal application of your company and you have to use a standard browser then you can develop for that browser alone. Although there are codes out there to be able to work with different browsers but it would still be hard to tell though.
Ive got some idea of your problem. You have to have a form and submit that form, after filling the contents of that form from a different frame, through javascript so that the data would be posted and processed by the script.
You've got to use some javascript codes for that.
Regards,
Junrey
- trollll
- Forum Contributor
- Posts: 181
- Joined: Tue Jun 10, 2003 11:56 pm
- Location: Round Rock, TX
- Contact:
You could (assuming the page won't alter databases or files when it loads) just have a script that would know the location of that frame and then read in the output through a socket connection to the full url (fsockopen, i think) and then use the contents from that read to alter whatever you need. You'd just have to parse the html to get what you want out of it...
Hope this helps!
Hope this helps!