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 / gayathri

<a href="javascript:window.close();"> close window </a>

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of data types?

490


How to remove the event listener?

527


Explain function hoisting in javascript?

484


What are the types of variables in javascript?

468


How much time it will take to learn javascript?

454






Explain javascript debounce function?

545


How to get inner html of an element in javascript?

473


What is scope chain in javascript?

500


Event bubbling and Event Capturing in JavScript?

552


How to modify the url of the page without reloading the page?

494


What is NaN?

563


Can you access Cookie using javascript?

553


Explain javascript closures by example.

496


What is output of “20” + 20? In javascript?

503


What is the purpose of using javascript?

498