Manish Pansiniya's Blog

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

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. 🙂


Written by Manish

June 7, 2010 at 4:37 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: