Ciao.
Mi sapete dire perchè una cosa del
genere non funziona in Ie:
provato ancheCodice PHP:
el.removeAttribute('type');
el.setAttribute('type','button');
ma nienteCodice PHP:
// Ho provato anche con el.type='button';
![]()
![]()
Ciao.
Mi sapete dire perchè una cosa del
genere non funziona in Ie:
provato ancheCodice PHP:
el.removeAttribute('type');
el.setAttribute('type','button');
ma nienteCodice PHP:
// Ho provato anche con el.type='button';
![]()
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it
Ho 'risolto' con
Se qc ha una soluzione miglioreCodice PHP:
el.removeAttribute('type');
//fix ie bug
try{
el.setAttribute('type','button');
}
catch(e){}
![]()
![]()
PS.
Se qc ha una soluzione migliore![]()
Non usare IE :lol:
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it
mahCodice PHP:
try{
inputList.item(i).setAttribute('type','button');
}
catch(e){
var _value= inputList.item(i).value;
var _class= inputList.item(i).className;
inputList.item(i).outerHTML='<input name="tag_action" type="button" value="'+_value+'" class="'+_class+'" id="'+currentTagId+'" />';
}
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it