Window.Open("somenewpage.asp", "New Window) will open somenewpage.asp in a new browser.
<input type="Button OnClick="OpenInSame()" ....> <script> Fucntion OpenInSame{ window.location="somenewpage.asp"); } </script> OnClick="OpenInSame()" ----- Original Message ----- From: "brain7822" <[EMAIL PROTECTED]> To: <AspClassicAnyQuestionIsOk@yahoogroups.com> Sent: Monday, November 14, 2005 7:40 AM Subject: [AspClassicAnyQuestionIsOk] How to use window.open > hi friends, > I want to open a new URL on the same window using window.open How > can I do it? or in the same way I want to use a button whose input type > should be "button" to open a new window or say new URl in the same > window how can I do it? please help me out it's urgent. > Thanks > > > > > > > > > > > Yahoo! Groups Links > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/