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".
Answers were Sorted based on User's Feedback
Answer / senthil
try this inbetween <head> tag
<base target="_self"/>
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Answer / gayathri
<a href="javascript:window.close();"> close window </a>
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naveen das
check if your code contains the following script
window.close();
or
window.opener.close();
| Is This Answer Correct ? | 2 Yes | 1 No |
Difference between private, public and static variable?
How to add/remove properties to object dynamically in javascript?
show the date in textbox when we select item (items like-- today,yesterday,lastweek,lastmonth,lastyear) from dropdownlist using javascript?
What is the Infinity property used for in Javascript?
what is the extension of java script.
How can a value be appended to an array?
Explain the role of deferred scripts in javascript?
Is javascript frontend or backend?
What are all the types of Pop up boxes available in JavaScript?
Explain why "self" is needed instead of "this".
java pgm for reads a file(text file) and removes all the spaces then the text and write this back into the same file. e.g: (Input) _______ chennai is fourth biggest city in india. (output) _______ chennaiisfourthbiggestcityinindia.
What are JavaScript Data Types?