View Full Version : Question regarding frames,php, and javascript

12-06-2006, 06:11 PM
So I'm building a web site and have a page split into two frames. A top one and a bottom one. The top on is topframe.html and the bottom one is gettext.php. The job of the bottom frame is to open a file, read and parse it, and pass the parsed strings to a javascript functions contained in gettext.php. The javascript function writes to topframe.html using


This worked fine and dandy however there is a picture located in topframe.html that I would like to stay there. However when I use this write function it seems to create a new page instead of writing to the current topframe.html. Any ideas on how I can append to the file instead of creating a new one? Thanks in advance.


12-06-2006, 07:47 PM
I think you're going to have to show more of your code in order to determine what your best option would be. Is this a php or javascript problem? That sort of thing.