So I am using extJs and followed tutorials. But I can't figure something out. When I'm using my extJs library on localhost I get the error described in the title. The full error is something like this:
HttpRequest cannot load ********** No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
My html code is the following:
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://localhost/IWL/ext-5.0.1/build/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css">
<script type="text/javascript" src="http://localhost/IWL/ext-5.0.1/ext-all.js"></script>
<script type="text/javascript" src="http://localhost/IWL/ext-5.0.1/build/packages/ext-theme-neptune/build/ext-theme-neptune.js"></script>
<script src = 'main.js'></script></head>
</html>
Do I have to change something in xampp? In my html code? in js?