Ver Mensaje Individual
  #34 (permalink)  
Antiguo 11/05/2011, 11:21
SideEfect
 
Fecha de Ingreso: mayo-2011
Mensajes: 38
Antigüedad: 13 años
Puntos: 0
Respuesta: consulta y onchage

Cita:
Iniciado por alexg88 Ver Mensaje
Pues no sé porque no se manda el parámetro.

Supongo que le habrás puesto la librería jquery para poder usar el $.ajax, es decir:

Código Javascript:
Ver original
  1. <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.js"></script>
:n erd: men no tenia esa libreria ya la descargue y me cambia el nombre del producto pero de esta manera:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin t&iacute;tulo</title> </head> <body> Par�metro num:5<br />Consulta: SELECT producto FROM t_mat WHERE cod='5'<br />tomate</body> </html>

Última edición por SideEfect; 11/05/2011 a las 11:45