kusi
01-01-2004, 05:42 PM
var neuesFenster =window.open("", "", neuesFensterParams);
alert("neuesFenster: " + neuesFenster);
works fine with other browsers..
alert("neuesFenster: " + neuesFenster);
works fine with other browsers..
|
Click to See Complete Forum and Search --> : window.open() returns undefined in IE 6 kusi 01-01-2004, 05:42 PM var neuesFenster =window.open("", "", neuesFensterParams); alert("neuesFenster: " + neuesFenster); works fine with other browsers.. fredmv 01-01-2004, 05:43 PM That returns [object] for me in IE6. kusi 01-01-2004, 06:46 PM if i refresh the page it works also in IE. but otherwise undefined. ps:locally it returns Object all the time. no problem. fredmv 01-01-2004, 06:52 PM Do you have a link so we could see this in action? kusi 01-01-2004, 07:07 PM so thx anyway fredmv 01-01-2004, 07:11 PM That page doesn't have any JavaScript on it. kusi 01-01-2004, 07:15 PM The pictures get loaded etc.. through JS.. fredmv 01-01-2004, 07:21 PM Sorry for the misunderstanding. I wasn't looking at the correct page earlier. As for your problem, under IE, I'm not getitng any errors related to window.open. However, I'm getting an error because of this line:self.reload();That should be:location.reload();The fact that it doesn't error for me and errors for you proves the fact that there is nothing wrong with your code, but your browser rather. If you don't want any errors to show up, simply use a try/catch block or supress errors by using the onerror event handler. kusi 01-01-2004, 07:31 PM it is this **** browser I guess. I dont know why. thx for all. probably the whole OS should be reinstalled. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |