Ok entiendo pero yo necesito es el checbox que trabaje dentro de el echo por eso mi pregunta hice input pero el id check aun sale con el mismo error y si lo quite ya lo tengo
javascript
:estado_check();"
Código:
function estado_check(){
if(check[fila]!=true)
{
document.getElementById("fila"+fila).style.background='#3399FF';
document.getElementById("fila"+fila).style.color='#FFFFFF';
seleccionado[fila]=true;
}
else
{
document.getElementById("fila"+fila).style.background='#66CCFF';
document.getElementById("fila"+fila).style.color='#000000';
seleccionado[fila]=false;
}
}