Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/09/2012, 09:47
Avatar de satjaen
satjaen
 
Fecha de Ingreso: septiembre-2012
Ubicación: Jaén (Andalucía)
Mensajes: 893
Antigüedad: 14 años, 1 mes
Puntos: 10
Respuesta: Hacer función al seleccionar celda de tabla.

Asi no me funciona.


Código PHP:
var fila= null;
function 
pulsar(obj) {
  
obj.style.background = 'orange';
  if (
fila != null && fila != obj)
    
fila.style.background = 'white';
  
fila = obj;
document.location = "myurl.php?id="+myparam
}