I am trying to access xml data through a link, but when I try to I get this error:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
How can i fix this?
<!DOCTYPE html>
<html>
<body>
  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
  <script type="text/javascript">
        $(document).ready(function(){
                $.ajax({
                  type: "GET",
                  url: "https://www.veiligstallen.nl/veiligstallen.xml",
                  dataType: "xml",
                  succes: function (xml){
                          console.log("succeed");
                });
        });
  </script>
</body>
</html>