
Claire et Maxime Duquennoy
Référents Amour et Vérité province Occitanie
- VOIR LE NUMÉRO DE TEL. jQuery(document).ready(function () { //AJAX boutons action jQuery('.bouton-tel').click(function (event) { event.preventDefault(); // get search term var bouton = jQuery(event.target); var contactid = jQuery(this).data('contactid'); var boutonContenu = bouton.html(); jQuery.ajax({ url: 'https://emmanuel.info/wp-admin/admin-ajax.php', type: 'POST', data: { 'action': 'voir_numero_tel', 'contactid': contactid }, beforeSend: function () { bouton.html(''); }, success: function (result) { bouton.html(result); }, complete: function () { } }); }); });