Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Posts Tagged ‘Enhanced Security ON

Could not click on link which uses javascript – document.location to redirect

leave a comment »

When we have enhanced security configuration is ON on the machine in Internet Explorer, there are problems while using javascript to redirect the pages. Specifically I found when link uses document.location=URL then it blocks them to redirect.

To resolve the same, you just need to add that to

Internet Options > Security > Trusted Sites.

Once this is done, it will work fine. 🙂

Advertisements

Written by Manish

June 7, 2010 at 4:37 pm