"Gianni" <> wrote in message
news:#tHvXW#...
> I am running/testing JavaScript in IE7 and I get the
> following message.
>
> "To help protect your security IE has restricted this
> webpage from running scripts or ActiveX controls that
> could access your computer."
>
> Is there some setting that I could change to not get
> the blocking? The testing works fine in Firefox.
Are you loading the page with the script from your hard disk? This is
expected behaviour if so, as IE will restrict script access for pages loaded
from the My Computer security zone. You can add a "Mark of the Web" to the
HTML so that IE will run it in the Internet security zone which will let you
test code as if it was loaded from a website.
http://msdn.microsoft.com/en-us/libr...28(VS.85).aspx
--
Dan