| Server IP : 145.239.37.162 / Your IP : 216.73.217.126 Web Server : Apache System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaa ( 38250) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaa/www_old/wp-content/themes/betheme/muffin-options/fields/ajax/ |
Upload File : |
(function($) {
/* globals jQuery */
"use strict";
function mfnFieldAjax() {
$('#mfn-wrapper').on('click', '.mfn-opts-ajax', function(e) {
e.preventDefault();
if (confirm("Are you sure you want to do this?\nIt can not be restored at a later time! Continue?")) {
var el = $(this);
var ajax = el.attr('data-ajax');
var param = el.attr('data-param');
var post = {
action: 'mfn_love_randomize',
post_type: param
};
$.post(ajax, post, function(data) {
el.text(data);
});
} else {
return false;
}
});
}
/**
* $(document).ready
* Specify a function to execute when the DOM is fully loaded.
*/
$(function() {
mfnFieldAjax();
});
})(jQuery);