He probado asi:
Código Javascript
:
Ver originalvar list = new Element('ul');
this.list.each(function(el,i){
if(el.title != ''){
var li = new Element('li').injectInside(list);
new Element('label').setProperty('for', el.id).setText(el.title).injectInside(li).this.focus; }
});
y nada
asi tampoco
Código Javascript
:
Ver originalnew Element('label').setProperty('for', el.id).setText(el.title).injectInside(li).focus;