RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting

htmlfile: Invalid argument error using AppendChild

Join Date: Jul 2007
Posts: 1
Reputation: oxymeboy is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
oxymeboy oxymeboy is offline Offline
Newbie Poster

Solution Re: htmlfile: Invalid argument error using AppendChild

  #3  
Jul 26th, 2007
This is late reply to this post but it might help someone searching with this problem.

I found that creating the new element within the same document I needed to append to fixed a similar problem I was having.

So in this case creating the new div like this may be a fix for this problem:

  1. document.parentWindow.parent.parent.document.createElement("div");

Hope this helps someone.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:06 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC