crazyswede Posted February 4, 2015 Share Posted February 4, 2015 i'm running a script, i use response.redirect to run another script. Works great! but it runs in the same window. How do i open it in a new window? using href, i would specify "target=_blank." But what about response.redirect ? Link to comment Share on other sites More sharing options...
Ingolme Posted February 4, 2015 Share Posted February 4, 2015 Is this .NET or ASP? Plain Javascript doesn't have a global Response object. In plain Javascript you would open a new window with window.open(). Link to comment Share on other sites More sharing options...
justsomeguy Posted February 4, 2015 Share Posted February 4, 2015 If you're talking about ASP only, ASP cannot open a new window. You need to launch the ASP page in a new window from either Javascript or regular HTML. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now