how to show the reponse page into a new blank window?

M

Michael

Hi,

I create site with a prefix FramSet layout.
The main page contains HTML <Form> function like this

<Form name=my_form method=post action=my_action.asp>
<input name=search_string type="text" value="user_input_here">
<input name=submit type=submit value=submit>
</Form>

when user click submit button, the server side runs my_action.asp and send
the results back.

By default the result page will be showed in the same frame erea.
How can I show the result page to a new blank window?

Thanks

Michael
 
M

Michael

Thank you very much

By the way, could you pls tell me what's the different for "new" and "_new"?


Rgds
Michael
 
M

Manohar Kamath [MVP]

"new" creates a window with the name new. So, if in any other frame if you
refer to a target of "new", you will actually be opening the page in this
one.

The "_new" creates a new, unnamed window everytime.

--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
 
A

Adrienne

"new" creates a window with the name new. So, if in any other frame if
you refer to a target of "new", you will actually be opening the page
in this one.

The "_new" creates a new, unnamed window everytime.

No, you are thinking of target="_blank" which DOES open a new window every
time. Using target="_new" will keep on opening the same window called
_new.

http://www.w3.org/TR/html4/types.html#idx-target_frame - Note that the
target attribute has been removed for XHTML Strict.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,575
Members
47,207
Latest member
HelenaCani

Latest Threads

Top