Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/09/2004, 13:31
Avatar de wolf777
wolf777
 
Fecha de Ingreso: junio-2004
Ubicación: Bolivia
Mensajes: 199
Antigüedad: 19 años, 11 meses
Puntos: 0
Funciona hice prueba con este códogo que es lo mismo que lo tuyo:

Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><script language="javascript">
function prueba1(){
document.getElementById('hola').style.background= 'red';
}</script>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="750" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td id="hola">Cambia el color de la celda</td>
	<td><input type="button" value="Cambiar" onClick="prueba1()"></td>
  </tr>
</table>
</body>
</html> 
Saludos
__________________
Do not let The Darknness Get You, to soon...