Ver Mensaje Individual
  #7 (permalink)  
Antiguo 07/02/2010, 15:26
martuanez
 
Fecha de Ingreso: julio-2008
Mensajes: 109
Antigüedad: 15 años, 9 meses
Puntos: 0
Respuesta: Cargar datos via ajax/jquery según dato.

Estoy usando el post:

Código HTML:
$(document).ready(function(){
	$('#button').click(function() {
		$.ajax({ 
		type: "POST", 
		url: "carga_socio.php", 
		success: function(respuesta) { 
		$('#resultado').html(respuesta);

	} 
		}); 
		return false;
	}); 
});
pero no me toma el dato que le mando...

Cita:
Notice: Undefined index: socio in C:\wamp\www\PRUEBAS\cargar_socio\carga_socio.php on line 14
sin jquery lo toma, con jquery no... probé con data:"algo" y con $(this).serialize, pero no sé si lo estoy haciendo bien...