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


Please Help Members By Posting Answers For Below Questions

How can the style/class of an element be changed?

550


What are undeclared and undefined variables?

544


What is a nan value?

499


Can you give an example showing javascript hoisting?

461


What are escape characters in javascript?

495






What would be the result of 2+5+”3″?

533


Expand BOM and explain it?

511


How can you convert the string of any base to integer in JavaScript?

516


Is webassembly faster than javascript?

481


What is the difference between undefined and object?

560


Name the different types of pop up boxes in Javascript?

530


What is the === in javascript?

460


Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?

474


What does question mark mean in react?

477


How can you identify a function?

459