JavaScript permission denied to get property?
|
demo 19 Dec 2008 05:51pm /*<![CDATA[*/ function changesrc() { parent.runescapepage.document.getElement ById( 'urltext' ).src = 'logo.gif'; } /* ]]>*/ both IE7 and FF3 say permission is denied, why is this and is their a way around it *note: space between "Element" and "By" is only there so that Y!answers doesn't censor it out, it is not is actual document |
Answers
|
demo 19 Dec 2008 08:50pm You're trying to go above document - you don't have that access. (Javascript is running in the browser, not on the server - it doesn't know the server.) |
Related
Submit Answer
You must be logged in to post an answer. Please Login or Register.
Powered by phpMyAnswers.