Jump to content

how to control original htnl file from CGI

Recommended Posts

HiI have a page named "index.html".In my main html file I have 2 <iframe>.One of them present a html file while the other is empty.The html is called "top.html" and it is connected to a CGI file (called query.cgi)I need to create a link in "top.html" file (created by query.cgi) that when clicking on it will open a html file on the other iframe.Problem:because "top.html" is created and controlled by "query.cgi" I can't find a way to get the second iframe....parameters I have tried:document.url = undefineddocument.referrer = http://my_server/top.htmlwindow.location.href= http://my_server/query.cgiwindow.document.url = undefinedhow can I reach the main page??

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...