Forum Moderators: open

Message Too Old, No Replies

click on submit button and then new window opens!

Not that easy, I am using a form with ASP.

         

circuitjump

9:57 am on Dec 19, 2001 (gmt 0)

10+ Year Member



How can I go about doing an onClick and having the new browser open. As well as cary the info to the new page from the form with which the customer is working with?

joshie76

10:35 am on Dec 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is the simplest way to do this though you'll probably want more control... Perhaps you can give us a bit more detail?

<form name="test" target="_blank" action="targetpage.htm">
<input type="text">
<input type="submit">
</form>

Josh

circuitjump

10:40 am on Dec 19, 2001 (gmt 0)

10+ Year Member



Thanks :)

I managed to figure it out. But now here is the trick. The window it is supposed to go to now is a framed window with three frames. The top frame is the nav stuff, the middle window is the ASP window that needs the form info and the bottom window has a button to close the whole window. Now how can I make it open a new window and have the form know that the info that it needs to send is to the middle window and not the frame window itself?

Man oh Man

tedster

11:12 am on Dec 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How about have the link open a widnow with just the document that gets the data. But, have javascript in the HEAD of that document which forces it into the frameset.

I haven't tested this, and I'm not sure the page would retain its data when it gets put into the frameset, but it seems like a logical thing to try.

circuitjump

11:29 am on Dec 19, 2001 (gmt 0)

10+ Year Member



true true, neat Idea!:) Even if it does not work :(