Coding⏱️ 2 min read📅 2026-05-31

How to Fix: IE9 jQuery AJAX with CORS returns "Access is denied"

CORS (Cross-Origin Resource Sharing) issue in IE9 with jQuery AJAX.

Quick Answer: Enable CORS in IE9 by setting jQuery.support.cors to true and using the Access-Control-Allow-Origin header in your server-side response.

The issue you're experiencing is due to Internet Explorer's (IE) restriction on CORS (Cross-Origin Resource Sharing). When using jQuery AJAX with CORS enabled, IE9 returns an 'Access is denied' error.

⚠️ Common Causes

  • IE9's CORS policy is restrictive and requires a more explicit configuration.

🔧 Proven Troubleshooting Steps

Method 1: Using the JSONP Proxy

  1. Step 1: Include a JSONP proxy in your AJAX request.

Method 2: Using the Cors-anywhere library

  1. Step 1: Install the 'cors-anywhere' library using npm or yarn.

🎯 Final Words

By implementing one of these methods, you should be able to resolve the 'Access is denied' error in IE9.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions