I try to do an AJAX call with jQuery and $.post
in Internet Explorer, but all I get is an error saying \"Permission denied\". The problem is kinda weird since i
In my case, changing the jquery version worked. Instead of using version 1.9.1, now I'm using 1.12.4 and it works.
If its local (localhost), then for security reasons you have to have the full path.
From the post on jquerys forum here, you have to have the content type meta as the first item in your head tag.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/ietest/jquery.js"></script>
<script type="text/javascript" src="/ietest/test.js"></script>
</head>
<body>
<a href="#">Test</a>
</body>
</html>