We are facing problem with the compatibilty of IE 7 and IE
6.We are calling a showModal window that is working fine in
IE6 but with IE7 it opens a new Window and Data is not
getting poputaled.In some pages it Gives an error "The
webpage you are viewing is trying to Close the window.Do
you want to close this window".
Answer Posted / senthil
sorry for the previous ans ami,
insteated above of try following code it may solve your
problem
window.opener = self;
window.close();
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Define unescape() function?
What are different types of popup boxes available in javascript?
How javascript variables work?
What is rest parameters in javascript?
How to define a anonymous function?
What is array explain it?
Difference between Client side JavaScript and Server side JavaScript?
What is a class in javascript?
all possible test cases for normal number field,name field date field,check box,
What is the ‘Strict’ mode in JavaScript and how can it be enabled?
Do you have to declare variables in javascript?
Can you access Cookie using javascript?
What is the reason for wrapping the entire content of a javascript source file in a function book?
How would you check if a variable is null/undefined?
Describe negative infinity in javascript?