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 |
Is a parabola a function?
if the two text boxes are there i want assign the vales like 2&3 and if i select button means i want find the sum.this is client side scripting in javascript
How do you access an element in an HTML document with JavaScript?
How to write a script for "select" lists using javascript
What is this in JavaScript?
What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F;</span> } console.log(y);
What is the difference between JavaScript and jscript?
How would you compare two objects in JavaScript?
What is the main difference between Map collections and other collections such as Set.
Are javascript variables case sensitive?
What are the primitive data types in JavaScript?
How to validate email in javascript?