Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window tha..

Answer / senthil

try this inbetween <head> tag
<base target="_self"/>

Is This Answer Correct ?    4 Yes 0 No

We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window tha..

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

We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window tha..

Answer / gayathri

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

Is This Answer Correct ?    2 Yes 0 No

We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window tha..

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

Post New Answer

More JavaScript Interview Questions

How to use strings as array indexes using javascript?

0 Answers  


What is double exclamation point?

0 Answers  


Why would you use a sticky session?

0 Answers  


What is the difference between null and undefined?

1 Answers  


What is the main difference between Map collections and other collections such as Set.

0 Answers  


Why javascript is dangerous?

0 Answers  


How is it possible to get the total number of arguments that are passed to a function?

0 Answers  


What does 3 dots mean in javascript?

0 Answers  


What are arrays in javascript?

0 Answers  


What does three dots mean in texting?

0 Answers  


How to convert json string to object?

0 Answers  


What is this keyword?

9 Answers   Cognizant, Infosys, Satyam,


Categories