-
7 Nov 2006 7:01 AM #1
0.33 beta 3 DomHelper fails to insert html with IE
0.33 beta 3 DomHelper fails to insert html with IE
Just got an error under IE6 (yui-ext-debug.js):
FF works as expected.Code:// build as innerHTML where available /** @ignore */ function createHtml(o){ var b = ''; b += '<' + o.tag; <<<<<< ln. 842 (tag is null or not an object)
-
7 Nov 2006 2:47 PM #2
Can you post some code. It is saying that you didn't pass in a config object it looks like.
-
8 Nov 2006 12:05 AM #3
Not a bug
Not a bug
Jack, I am sorry my fault:
not a bug.Code:var sel = dh.append(p2, {tag: 'select', id: this.getId()+'_ttb_lnk_target', cls: 'ttb_lnk_target', children: [ {tag: 'option', value: 'none', html:''}, {tag: 'option', value: '_blank', html:'new window'}, {tag: 'option', value: '_self', html:'same window'}, //<< comma ]});
-
8 Nov 2006 4:58 AM #4
Ah, the infamous comma!
Similar Threads
-
DomHelper builds bad HTML for Select options in IE
By tryanDLS in forum Ext 1.x: BugsReplies: 8Last Post: 4 Jun 2008, 11:49 PM -
Can this be done? Copy, change and insert HTML frags?
By Joche in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 20 Mar 2007, 3:53 AM -
DomHelper Template using tables (bug in ff & insert at t
By aconran in forum Ext 1.x: Help & DiscussionReplies: 14Last Post: 13 Mar 2007, 11:48 AM -
Dialog fails if defining HTML is loaded via UpdateManager
By ggranum in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 21 Jan 2007, 11:31 AM -
Beta 2 is up
By jack.slocum in forum Community DiscussionReplies: 1Last Post: 3 Nov 2006, 6:25 AM


Reply With Quote