SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Ding Fries are Done! inter4design's Avatar
    Join Date
    Mar 2003
    Location
    usa
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iframe/javascript error

    Here is my problem.

    I'm iframing a 3rd party portal entry site from the base site. It loads fine into the iframe but when the user tries to submit they're username/password and its incorrect an error occurs and the error breaks out of the iframe and displays in the entire window and not just in the iframe. The site i'm trying to iframe is:
    http://lsgip.clientcommunity.com
    DoesItMatter
    - anyone seen my underwear?

  2. #2
    Forensic SEO Consultant Webnauts's Avatar
    Join Date
    Jun 2003
    Location
    European Union
    Posts
    1,488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by inter4design
    Here is my problem.

    I'm iframing a 3rd party portal entry site from the base site. It loads fine into the iframe but when the user tries to submit they're username/password and its incorrect an error occurs and the error breaks out of the iframe and displays in the entire window and not just in the iframe. The site i'm trying to iframe is:
    <A href="http://lsgip.clientcommunity.com[/QUOTE">http://lsgip.clientcommunity.com
    The end tag for "html" was found, but "html" was never opened!

  3. #3
    Ding Fries are Done! inter4design's Avatar
    Join Date
    Mar 2003
    Location
    usa
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that wont cause the error though
    DoesItMatter
    - anyone seen my underwear?

  4. #4
    SitePoint Enthusiast agentolivia's Avatar
    Join Date
    Jul 2003
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm guessing that it has to do with this line on the 3rd party's site, which is executed after the error message alert:
    Code:
    document.frmSubmit.txtUserName.focus();
    (It puts the cursor in the input called txtUserName in the form called frmSubmit.)

    I'm pretty sure this line would have to include the ID for the iframe to appropriately place the focus in the textbox in your iframe.

    You may be out of luck.

    Amber


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
  •