Tema: dos acciones
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/02/2012, 01:35
IES6412
 
Fecha de Ingreso: agosto-2006
Mensajes: 125
Antigüedad: 17 años, 8 meses
Puntos: 1
Respuesta: dos acciones

$("#direccion").click(function(){

$("#prueba").css("display","inline");var valor=$("#direccion").val();
$.ajax({
type:"GET",
url:"actualizar_por_direccion.php",
dataType:"html",
data:"numero="+valor,
success:function(ver){
$("#fun_actualizar").html(ver);
}
});

var valor2=$("#direccion").val();
$.ajax({
type:"GET",
url:"ver_ext_libres.php",
dataType:"html",
data:"numero="+valor2,
success:function(ver){
$("#ver_ext_libre").html(ver);
}
});

#direccion es el id del select