miércoles, 17 de febrero de 2010

Hacer invisible una tabla HTML

Hacer una funcion en javascript que haga lo siguiente y llamarla pasandole en checked true o false:
function hideOptions(var checked){

if(checked)
hide='none';
else
hide='';

var obj=document.getElementById('HTMLTableID');
obj.style.display = hide;
}

No hay comentarios:

Publicar un comentario