function ajax_bolsaTrabajo_ficha(idAspirante) { valorDevolver="" jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_bolsaTrabajo_ficha.php", data: "idA=" + idAspirante, // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { valorDevolver=recibido } } ); return valorDevolver } function ajax_cargaJugador(idJugador) { valorDevolver="" jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_cargaJugador.php", data: "idJ=" + idJugador, // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { valorDevolver=recibido //alert(recibido + "\n" ) } } ); if (valorDevolver!=""){location=""} return valorDevolver } function ajax_solicitaFactura(idModulo, idRegistro) { valorDevolver=0 jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_solicitaFactura.php", data: "idM=" + idModulo + "&idR=" + idRegistro, // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { alert("Se ha enviado un correo comunicando su solicitud a nuestras oficinas, y se ha enviado una copia a su dirección de correo.") valorDevolver=recibido } } ); // return valorDevolver } function ajax_recordarContrasenha(emailDestino) { valorDevolver=0 jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_recordarContrasenha.php", data: "mail=" + emailDestino, // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { valorDevolver=recibido } } ); return valorDevolver } function dameTipoDato(id) { valorDevolver="" jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_dameTipoDato.php", data: "id=" + id, // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { valorDevolver=recibido; } } ); return valorDevolver } function ajax_borraCarro() { valorDevolver="" jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_borraCarro.php", data: "", // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { // alert(recibido); valorDevolver=recibido; } } ); return valorDevolver; } function registraPagoTPV(fuc, importe, localizador) { idPagoTPV="" jQuery.ajax( { type: "POST", url: "https://www.ardoibaloncesto.com/inscripciones/ajax_registraPagoTPV.php", data: "fuc=" + fuc + "&importe=" + importe, // dataType: 'text/html', cache: false, async: false, // Necesario para FIREFOX success: function(recibido) { // alert(recibido) idPagoTPV=recibido; } } ); return idPagoTPV } function Numeros(string){//Solo numeros var out = ''; var resultado=1; var filtro = '1234567890';//Caracteres validos //Recorrer el texto y verificar si el caracter se encuentra en la lista de validos for (var i=0; i