★ wanayoo — archive 1999 https://developer.mozilla.org/bn-BD/docs/Web/JavaScript/Reference/Errors/Property_access_deniedNouvelle recherche | Portail wanayoo

Our volunteers haven't translated this article into বাংলা (বাংলাদেশ) yet. Join us and help get the job done!
You can also read the article in English (US).

Message

Error: Permission denied to access property "x"

Error type

Error.

What went wrong?

There was attempt to access an object for which you have no permission. This is likely an <iframe> element loaded from a different domain for which you violated the same-origin policy.

Examples

<!DOCTYPE html>
<html>
  <head>
    <iframe id="myframe" src="/old?u=http%3A%2F%2Fwww1.w3c-test.org%2Fcommon%2Fblank.html&y=1999"></iframe>
    <script>
      onload = function() {
        console.log(frames[0].document);
        // Error: Permission denied to access property "document"
      }
    </script>
  </head>
  <body></body>
</html>

See also

ডকুমেন্ট ট্যাগ এবং অবদানকারী

ট্যাগ: 
Contributors to this page: mdnwebdocs-bot, SphinxKnight, ejzimmer, Bzbarsky, fscholz
সর্বশেষ হালনাগাদ করেছেন: mdnwebdocs-bot,