Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opening a new html page from within frame

 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a frameset in my website:

Now when user clicks on submit button in food.htm, this opens a new page order.htm, but unfortunatley this page just replaces food.htm in the frameset.

What I would like is for the entire frameset in the browser to be replaced with the new page (order.htm) just like when you go from one page to the next in a web site.

Using javascript, and the open("order.htm",...,...) function within the food.htm page, I can achieve this (without actually submitting the form).
But this doesn't allow me to get the parameters passed if I had just used submit.

Is it possible for me to open the page in the browser (on its own, not in frameset) as well as passing the parameters to it from the form in food.htm

Thanks for any help
[ September 27, 2006: Message edited by: colin shuker ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the "target" attribute.
 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you think TARGET="_top" will work?
I'll try
[ September 27, 2006: Message edited by: colin shuker ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic