By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

how to open new page in curent window's

P: 11
i need to open a new page page1.html i am using javascript function

Expand|Select|Wrap|Line Numbers
but this function is opening new window , i want when i click the button to open page1.html in the curent windows not to open new
do you have any idea how to do thet. help pleas..
Oct 5 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 5,353
hi ...

i've moved the post from the js-articles-section to the forum for you ... please don't post questions in the articles-sections ...

to your problem: don't use window open ... use:

Expand|Select|Wrap|Line Numbers
  1. window.location.href = 'whatever_url_you_have'
kind regards
Oct 5 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.