HEX
Server: LiteSpeed
System: Linux 112.webhostingindonesia.co.id 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
User: iyfwylsv (10313)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/lotushomemade.com/httpdocs/wp-content/plugins/whatsapp-for-wordpress/assets/js/admin.js
jQuery(document).ready(function() {
    jQuery('#njt-wa-ads').click(function() {
        jQuery.ajax({
            url: ajaxurl,
            type: 'POST',
            dataType: 'json',
            data: {
                'action': 'njt_wa_ads_save',
                'nonce': window.njt_admin_ads.nonce
            }
        }).done(function(result) {
            if (result.success) {
                jQuery('#njt-wa-ads-wrapper').hide('slow')
            } else {
                console.log("Error", result.data.status)
            }
        });
    })
});