cesarcesar Posted June 13, 2007 Share Posted June 13, 2007 The following JS script works fine in FF and IE7. It fails though in IE6, which happens to be my target audience. Whats failing is.. the window.location is not calling. function confirmation(text,url_link) { var answer = confirm(text) if (answer){ window.location = url_link; } } Link to comment https://forums.phpfreaks.com/topic/55381-windowlocation-not-working-in-ie-6/ Share on other sites More sharing options...
suma237 Posted June 13, 2007 Share Posted June 13, 2007 hi use the code-window.location.href Link to comment https://forums.phpfreaks.com/topic/55381-windowlocation-not-working-in-ie-6/#findComment-273739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.