Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
window.location not working in IE 6
Old 06-13-2007, 02:49 AM window.location not working in IE 6
Extreme Talker

Posts: 196
Trades: 0
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.

Code:
function confirmation(text,url_link) {
    var answer = confirm(text)
    if (answer){
        window.location = url_link;
    }

}
empiresolutions is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-19-2007, 09:49 PM Re: window.location not working in IE 6
Ultra Talker

Posts: 256
Location: Auckland, New Zealand
Trades: 0
Location is actually another object.

window.location.href is the URL however it's also possible that IE6 is still using the incorrect document.location.href but I'm sure it's not.

Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Reply     « Reply to window.location not working in IE 6
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43375 seconds with 12 queries