Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically Opening Another Web Page 1

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
I was wondering if there is code that will automatically open up another web page?

When the user selects "submit" on the form, the information they entered in gets imported into the SQL server table (this is written in asp). After this is done, I would like another web page to automatically open up. Normally I would use -

<td><a href="PdfBestValues.asp?BestValue=<%=server.urlencode("None")%>&amp;%&gt;" target="_blank">

but it doesn't do it automatically and actually creates a link that the user has to click on.
 
opening a window in javascript is done using the window.open function:

Code:
var myWin = window.open('[URL unfurl="true"]http://www.url.com/',[/URL] 'windowName', '[i]<window properties>'[/i]);



*cLFlaVA
----------------------------
[tt]( <P> <B>)13 * (<P> <.</B>)[/tt]

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
Fontana, how is this question (or the answer) any different from this one you posted 2 days ago?

thread333-1256280

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
busted!

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top