Link to home
Start Free TrialLog in
Avatar of JoseHidalgo
JoseHidalgoFlag for Costa Rica

asked on

Javascript working in IE9 Compatibility View but not with IE9 Normal

Hi Experts

I have the following code

 <asp:Button ID="btnClose" Text="Close Window" Width="120px" runat="server"  OnClientClick="javascript:window.close(); return false;"/>

Open in new window


When I run the code and use IE compatibility view it works fine. It close the window but if I disable the Compatibility View is not working any more.

Please a need some help.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of P1ST0LPETE
P1ST0LPETE
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JoseHidalgo

ASKER

In a different enviroment it works perfect in all of them.

Thanks