Forum Moderators: open

Message Too Old, No Replies

Form within a Frame

Loading a page

         

fashezee

8:23 pm on Jun 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I got a three frames. The center frame has a form. When the form is filled and sent to a Coldfusion script, I would like the HTML that returns to be displayed in the entire browser window (ie. target="_top").

Since the submit button is being used to navigate to the next page, I can't use the target tag.

Is there an attribute I can include with the submit button that would automatically load the returning HTML page at the root of the browser
or
is there a attribute I can include within the body tag of a HTML page that would make itself load at the root?

Any help ?

tedster

1:10 am on Jun 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> Since the submit button is being used to navigate to the next page...

What does this code look like, that submits the form and navigates to the next page? Can you add onClick Javascript?

fashezee

1:01 pm on Jun 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




------------------------------------------
<form name="Form" method="post" action="../confirm.cfm">
...
<input type="submit" name="Submit" value="Submit Form">
-------------------------------------------

the confirm.cfm will through back a HTML page the I require to load at the root of the browser window.

tedster

7:52 am on Jun 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could include a "frame buster" javascript in the head of the return page. That's not very elegant, but it would work. I'm drawing a blank on any other solution right now.