Hola a todos, como veréis no soy un experto en JS... hago lo que puedo
Tengo esta función que corre bien en Chrome y en FireFox, pero no en IE
¿Alguien puede decirme por que es? y ya de paso, si conocéis algún sitio donde se pueda estudiar como no liarla con esto lo agradecería mucho.
Código:
function check (rate,vote,value) {
var show_select = '<select id=s_speed_'+vote+'>';
show_select += '<OPTION VALUE="1"';
if (value ==1) {show_select += ' SELECTED';}
show_select += '>1</OPTION>';
show_select += '<OPTION VALUE="2"';
if (value ==2) {show_select += ' SELECTED';}
show_select += '>2</OPTION>';
show_select += '<OPTION VALUE="3"';
if (value ==3) {show_select += ' SELECTED';}
show_select += '>3</OPTION>';
show_select += '<OPTION VALUE="4"';
if (value ==4) {show_select += ' SELECTED';}
show_select += '>4</OPTION>';
show_select += '<OPTION VALUE="5"';
if (value ==5) {show_select += ' SELECTED';}
show_select += '>5</OPTION>';
show_select += '</select>';
document.getElementById(rate+'_'+vote).innerHTML = show_select;
}
MUCHAS GRACIAS