SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot pozmu's Avatar
    Join Date
    Jul 2001
    Location
    Poland/ Warsaw
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Acces denied - help!

    'm trying to copy a form field value from one to another form. The
    second form is in the frame and on the another server, so I get "Acces
    denied" javascript error message. My question: how can I get rid of
    this error message? This page will be used by only one person
    (myself), so I can change IE options etc. (I'm using IE6). Please,
    help me & TIA

  2. #2
    SitePoint Guru jkcity's Avatar
    Join Date
    May 2001
    Location
    England
    Posts
    746
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    javascript won't work between two pages on two serparte domains.

  3. #3
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Add the domain of the website to your list of trusted sites. Tools -> Internet Options -> Security -> Trusted Sites -> Sites in IE5. If you're going to do this a lot you could just enable (or prompt) access of data sources across domains in your custom security level.
    ck :: bringing chris to the masses.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cross-Frame Scripting and Security won't allow this cross domain like jkcity said,

    However using VBScript you can open() the html from another server on yours, then you'll have access to the document dynamically, but this is only good for something's, such as collecting meta tags,..


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •