473,394 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ResponseRedirect\Javascript

gh
I have a javascript function I am calling in the click event of a html
link. I use window.open in some of the other js functions I have, but
they open up the page in a new browser. I want to open a new page in
the same browser with javascript, like ResponseRedirect("Page.aspx")
does. What is the js for this?

TIA
Nov 27 '06 #1
1 1213
Try:
window.location = 'newUrl;
HTH

Ciaran O'Donnell
http://wannabedeveloper.spaces.live.com
"gh" wrote:
I have a javascript function I am calling in the click event of a html
link. I use window.open in some of the other js functions I have, but
they open up the page in a new browser. I want to open a new page in
the same browser with javascript, like ResponseRedirect("Page.aspx")
does. What is the js for this?

TIA
Nov 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.