![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/04/2013, 14:03
|
![Avatar de Lynxcraft](http://static.forosdelweb.com/customavatars/avatar203476_2.gif) | | | Fecha de Ingreso: noviembre-2007 Ubicación: yecla murcia
Mensajes: 1.346
Antigüedad: 17 años, 2 meses Puntos: 51 | |
Respuesta: Duda con PHP+Ajax+Mysql a simple vista
Código:
function realizaProceso(){
var parametros = $(":button").val();
var data = {stores:parametros};
$.ajax({
data: data,
url: '../bd/stores-ajax.php',
type: 'post',
beforeSend: function () {
$("#mapa").html("Procesando, espere por favor...");
},
success: function (response) {
$("#mapa").html(response);
}
});
}
__________________ Sobran las ideas cuando faltan ganas de trabajar en ellas Lynxcraft |