[HTML_AJAX-devel] Permission denied on IE6

RafaQuiM xaldesw2 at spcorp.com
Wed Sep 5 14:32:20 MST 2007


Josh, thanks for your reply


>>I don't think reassigning document.getElementById works right in IE
I see, but actually this reassignment works well. If i move the line from
remedialJS.js to SimpleMenu.js the page loads properly or even having the
page reloaded works fine.


>>In HTML_AJAX we have an actual functin for $
Is good to know that, in this case i'm not using HTML_AJAX framework though.


I forgot to mention that the JSP sends a no-cache header to the client.


Regards




JoshuaEichorn wrote:
> 
> RafaQuiM wrote:
>> 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
>>       ...
>>
>>
>>   
> I don't think reassigning document.getElementById works right in IE
> 
> In HTML_AJAX we have an actual functin for $
> 
> -josh
> 
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel at lists.bluga.net
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/Permission-denied-on-IE6-tf4387991.html#a12511318
Sent from the HTML_AJAX Dev/Support mailing list archive at Nabble.com.



More information about the Html_ajax-devel mailing list