window.href open new window?
Posted
by CliffC
on Stack Overflow
See other posts from Stack Overflow
or by CliffC
Published on 2010-04-14T10:38:36Z
Indexed on
2010/04/14
10:43 UTC
Read the original article
Hit count: 355
JavaScript
|html
hi when ever i use
window.location.href=//some url
it always open a new window, this only happens when the parent window is an dialog box. Any idea what i did wrong?
i tried using
window.open("http://asdf.com", "_self");
as suggested on this thread http://stackoverflow.com/questions/1678155/window-location-href-opens-another-window but it is still not working
thanks
© Stack Overflow or respective owner