Hello Friends,
I have the following code in my JS file:
It is working properly in Mozilla. But in IE I am getting a Javascript error at line 1 while setting action. It says 'Object doesn't support this property or method'
Why is it so? Any clues/direction? any hints for debugging?
Thanks a lot in advance!
Regards,
Leena
I have the following code in my JS file:
Code:
document.getElementById('form1').action = theContextRoot+myURL;
childWin = window.open("", "myWindow", 'toolbar=0,location=0,directories=0,status=1,scrollbars=1,resizable=1,width=450,height=200');
document.getElementById('form1').target = "childWin";
document.getElementById('form1').submit();
It is working properly in Mozilla. But in IE I am getting a Javascript error at line 1 while setting action. It says 'Object doesn't support this property or method'
Why is it so? Any clues/direction? any hints for debugging?
Thanks a lot in advance!
Regards,
Leena
Comment