Unable to print the page -Javascript Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gayak
    New Member
    • Apr 2008
    • 6

    Unable to print the page -Javascript Error

    Hi all,

    When I try to print a page. I am unable to do so. I get a javascript error as "Access is Denied". When I googled I found out that the script in one window or frame is trying to access another window or frame whose document's domain is different from the document containing the script.

    How to overcome this issue

    Please Advice.

    Many thanks in advance

    Gayathri
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Is the document from another domain?

    If it is, you will need to load it from your domain using a server-side http request. How that's done depends on the server-side language.

    Comment

    Working...