da sostituire anche
codice:
this.outerHTML=this.outerHTML.replace(/type=[a-zA-Z]+/," ").replace(">"," type='"+value+"'>");
var t=me.childNodes;
var max=t.length;
for(var i=0;i<max;i++)
if(t[i].id==this.id){
t[i].getAttribute=interface.getAttribute;
t[i].setAttribute=interface.setAttribute;
}
con
codice:
if(me){
this.outerHTML=this.outerHTML.replace(/type=[a-zA-Z]+/," ").replace(">"," type="+value+">");
var t=me.childNodes;
var max=t.length;
for(var i=0;i<max;i++)
if(t[i].id==this.id){
t[i].getAttribute=interface.getAttribute;
t[i].setAttribute=interface.setAttribute;
}
}else
this.type=value;
ps..ha ancora un problema con le input check...