Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



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

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 05-10-2009
Member
 
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??

Reply With Quote
  #2  
Old 05-10-2009
Member
 
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.
Reply With Quote
  #3  
Old 05-10-2009
Member
 
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.
Reply With Quote
  #4  
Old 05-10-2009
Member
 
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
Reply With Quote
  #5  
Old 16-06-2011
Member
 
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 ....

Reply With Quote
  #6  
Old 18-06-2011
Member
 
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to modify the parent container element before the child element is closed"
Thread Thread Starter Forum Replies Last Post
Can't open word document "the name in the end tag of the element must match the element type in the start tag." Zerinos Windows Software 1 10-05-2012 11:55 AM
Unable to create share on WD Element USB connected with WD My book Live Duo Maq-Bool-Ji Hardware Peripherals 4 26-03-2012 10:59 PM
Cannot delete a folder and unable to get path element Rahul Mahajan Operating Systems 3 21-12-2010 12:37 PM
How to pass value from Child to Parent Window Gefry Software Development 3 23-09-2009 02:20 PM
How to display JQuery Event without Child Element T0tal L0$$ Software Development 3 13-08-2009 10:46 AM


All times are GMT +5.5. The time now is 03:42 PM.