-
7 Oct 2010 12:24 PM #1
[CLOSED] "Invalid target element for this operation" in IE8 (bug?)
[CLOSED] "Invalid target element for this operation" in IE8 (bug?)
Hi.
I try this code:
In GChome - OKCode:new Ext.Panel({ renderTo:Ext.getBody(), items:[{ xtype:"container", listeners:{ render:function(){ Ext.DomHelper.append("object",[{tag:"embed",id:"embed",type:"image/svg+xml"}]); } }, autoEl:{ tag:"object", id:"object", type:"image/svg+xml" } }] });
In FF3 - OK
In IE8 - report error:
Code:line: 7 symbol: 2071 error code: 0 Message: Invalid target element for this operation. URL: RESOURCE/ext-3.2.1/ext-all.js
-
8 Oct 2010 2:52 AM #2
Please help!
I try use another code:
In GCrome - OKCode:xtype:"container", autoEl:{ tag:"object", id:"SMKI_imageView_object", type:"image/svg+xml" }, items:[{ xtype:"box", autoEl:{ tag:"embed", id:"SMKI_imageView_embed", type:"image/svg+xml" } }]
In FF3 - OK
In IE8:
Code:Invalid argument. ext-all.js, line 7 character 126479 (b.dom.insertBefore(this.el.dom,a);)
-
8 Oct 2010 3:08 AM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
Why not use:
Code:xtype:"box", autoEl:{ tag:"object", id:"SMKI_imageView_object", type:"image/svg+xml", children: [{ tag:"embed", id:"SMKI_imageView_embed", type:"image/svg+xml" }] }
-
8 Oct 2010 5:08 AM #4
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Invalid source HTML for this operation
By MatthewLeonard in forum Ext GWT: DiscussionReplies: 6Last Post: 30 Jun 2010, 10:05 AM -
Invalid source HTML for this operation , Error In IE
By JohnT in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 14 Jun 2010, 5:19 AM -
FormLayout - Invalid HTML source for this operation
By edumrf in forum Ext GWT: DiscussionReplies: 0Last Post: 21 May 2009, 12:00 PM -
Invalid source HTML for this operation , Error In IE
By breckster in forum Ext.nd for Notes/DominoReplies: 1Last Post: 9 Oct 2008, 6:32 PM -
[2.0.2][CLOSED] Element addListener invalid parameter example
By mspeer in forum Ext 2.x: BugsReplies: 2Last Post: 15 Apr 2008, 12:53 AM


Reply With Quote