[HTML_AJAX-devel] Permission denied on IE6
RafaQuiM
xaldesw2 at spcorp.com
Wed Sep 5 13:42:39 MST 2007
I'm receiving the Javascript error message: Permission denied only the first
time i load a locally served tomcat JSP which makes my script to halt, but
if I reload the page by pressing F5 the page loads well and the script works
fine.
The line where the script halts is calling a function defined on other
script which is actually located on a different context than the caller
script. This is so because i want to share scripts between applications.
I must say that this error appeared suddenly and that's why i guess the
error is due a script loading synchronization issue rather than an across
domain access which is the theorical reason of this error.
Any help is great.
The code I have is shown below:
Inside the JSP:
...
<script src="/scripts/remedialJS.js"></script>
<script src="scripts/SimpleMenus.js"></script>
...
Inside the remedialJS.js:
...
var $=document.getElementById;
...
Inside the SimpleMenus.js:
...
$('scriptServer').value=scriptServerVal;//Here is where the scripts
crashes
...
--
View this message in context: http://www.nabble.com/Permission-denied-on-IE6-tf4387991.html#a12510542
Sent from the HTML_AJAX Dev/Support mailing list archive at Nabble.com.
More information about the Html_ajax-devel
mailing list