Results 1 to 6 of 6

Thread: Unable to modify the parent container element before the child element is closed

  1. #1
    Join Date
    Jul 2009
    Posts
    88

    Unable to modify the parent container element before the child element is closed

    Hi,

    I am trying to create a dialog box that will appear only if the browser selected is Internet Explorer, however I get this error: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)Can anyone help??

  2. #2
    Join Date
    May 2008
    Posts
    230

    Re: Unable to modify the parent container element before the child element is closed

    To avoid this problem, write script blocks that only modify closed containers container element or modify the script only once. To do this, you can use a placeholder to close the target container, or you can move the script block in the container you want to modify.

  3. #3
    Join Date
    May 2008
    Posts
    317

    Re: Unable to modify the parent container element before the child element is closed

    Normally, you will have a block type <script type="text/javascript"> located somewhere within the body of the page. If your script tried to add something to a page element that was not the father of the script block, then you get this type of analysis error. You have to remove the JavaScript script block to correct the initial site does not load problem, then solve the problem, find out which part of the javascript is trying to manipulate the page elements - in my case, I had to move the script block so that the parent became a body and not the div that was originally closed in.

  4. #4
    Join Date
    May 2008
    Posts
    256

    Re: Unable to modify the parent container element before the child element is closed

    To remove HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)

    See this : http://support.microsoft.com/kb/927917

  5. #5
    Join Date
    Jun 2011
    Posts
    1

    Re: Unable to modify the parent container element before the child element is closed

    i have faced this problem, but i just managed to get the answer for that..

    go in to Tools in IE > click on compatiblity view settings> you wil see add this site> add google.com> click the below option >display all sites in compatiblity view.

    you will get the gmail page for signing in ....


  6. #6
    Join Date
    Jun 2011
    Posts
    1

    Re: Unable to modify the parent container element before the child element is closed

    Thank you to the member "shijujohnninan ".
    You are right. Your comment works and is useful.
    Once again, thank you so much!
    Phuong

Similar Threads

  1. Replies: 1
    Last Post: 10-05-2012, 11:55 AM
  2. Replies: 4
    Last Post: 26-03-2012, 10:59 PM
  3. Cannot delete a folder and unable to get path element
    By Rahul Mahajan in forum Operating Systems
    Replies: 3
    Last Post: 21-12-2010, 01:37 PM
  4. How to pass value from Child to Parent Window
    By Gefry in forum Software Development
    Replies: 3
    Last Post: 23-09-2009, 02:20 PM
  5. How to display JQuery Event without Child Element
    By T0tal L0$$ in forum Software Development
    Replies: 3
    Last Post: 13-08-2009, 10:46 AM

Tags for this Thread

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
  •  
Page generated in 1,713,520,666.75283 seconds with 17 queries