INeedADip
19 Dec 2006, 9:18 AM
After I updated to the new .33 release I've noticed a problem in the DomHelper.
I've got a template like this:
function getTemplateAll(){
var tr = {
tag: 'tr', cls: 'trQueue',
children : [{
tag: 'td', cls: 'imgTD', id: 'test{0}',
children : [{
tag: 'img', id: 'actr{0}', cls: 'clsAction', alt: 'Actions', style: 'cursor: pointer;', src: '/images/icons/iconAction.gif'
}]
},{
tag: 'td', html: '{1}'
},{
tag: 'td', html: '{2}'
},{
tag: 'td', html: '{3}'
},{
tag: 'td', html: '{4}'
}]
};
var template = YAHOO.ext.DomHelper.createTemplate(tr);
template.compile();
return template;
}
Now since the release none of the 'ID' properties get filled. Both the (id: 'test{0}') and (id: 'actr{0}') don't get populated.
It works fine in FireFox, but IE7 messes up. Nothing blows up, no ERRORS from the browser at all (until I run my script that looks for certain values), all the ID's are (actr{0})...
Has anyone else experienced this?
I've got a template like this:
function getTemplateAll(){
var tr = {
tag: 'tr', cls: 'trQueue',
children : [{
tag: 'td', cls: 'imgTD', id: 'test{0}',
children : [{
tag: 'img', id: 'actr{0}', cls: 'clsAction', alt: 'Actions', style: 'cursor: pointer;', src: '/images/icons/iconAction.gif'
}]
},{
tag: 'td', html: '{1}'
},{
tag: 'td', html: '{2}'
},{
tag: 'td', html: '{3}'
},{
tag: 'td', html: '{4}'
}]
};
var template = YAHOO.ext.DomHelper.createTemplate(tr);
template.compile();
return template;
}
Now since the release none of the 'ID' properties get filled. Both the (id: 'test{0}') and (id: 'actr{0}') don't get populated.
It works fine in FireFox, but IE7 messes up. Nothing blows up, no ERRORS from the browser at all (until I run my script that looks for certain values), all the ID's are (actr{0})...
Has anyone else experienced this?