Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote

AJAX request blocked by CORS policy

The problem was that the PHP AJAX function was redirecting to another page, which caused these issues. I decided to just generate a link instead of redirecting.
Sam1501's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible