/* .sssssa { */ /* width: 70%; */ /* } */ // (function(w, d, s, l, i) { // w[l] = w[l] || []; // w[l].push({ // 'gtm.start': new Date().getTime(), // event: 'gtm.js' // }); // var f = d.getElementsByTagName(s)[0], // j = d.createElement(s), // dl = l != 'dataLayer' ? '&l=' + l : ''; // j.async = true; // j.src = // 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; // f.parentNode.insertBefore(j, f); // })(window, document, 'script', 'dataLayer', 'GTM-WKJDV4R'); // var analytic = document.getElementById('analytic').value; // window.dataLayer = window.dataLayer || []; // function gtag() { // dataLayer.push(arguments); // } // gtag('js', new Date()); // gtag('config', analytic); --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> --> // $('#buttonSendCv').on("click", function() { // console.log("Abre modal cv"); // $('#cv').modal('show'); // }); // $('.close').on("click", function() { // console.log("Cierra modal cv"); // $('#cv').modal('hide'); // }); // $(document).ready(function() { // $("#formFiles").on("submit", function(e) { // console.log('Entra en funcion submit vacante.jsp'); // e.preventDefault(); // console.log('e ' + e); // var f = $(this); // console.log('f ' + f); // var formData = new FormData(document.getElementById("formFiles")); // console.log('formData ' + formData); // var name = document.getElementById("nomcv"); // var filePDF = document.getElementById("filePDF"); // formData.append("dato", "valor"); // console.log('formData ' + formData); // formData.append('filePDF', filePDF + ' ' + name); // var ban = 1; // console.log('ban ' + ban); // var archivoPdf = $("#filePDF").val(); // console.log('archivoPdf ' + archivoPdf); // var tipoCom = $("#tipo").val(); // console.log('tipoCom ' + tipoCom); // var extPdf = archivoPdf.substring(archivoPdf.lastIndexOf(".")); // console.log('extPdf ' + extPdf); // if (ban == 1) { // if (extPdf != "") { // if (extPdf != ".pdf") { // Swal.fire({ // type: 'warnning', // text: 'Tipo de archivo no permitido, verificar que el archivo sea PDF.', // }); // $("#filePDF").val() = ""; // return null; // } // } else { // Swal.fire({ // type: 'warnning', // text: 'Debes seleccionar un archivo (.pdf).', // }); // $("#filePDF").focus(); // return null; // } // $.ajax({ // url: "VacantesCV.html", // type: "post", // dataType: "html", // data: formData, // cache: false, // contentType: false, // processData: false, // beforeSend: function() { // document.getElementById('btnenv').disabled = true; // $("#mensaje").html("
Procesando, espere por favor...