function wpsp_admin_submit_popup(obj){
    
    wpspjq('#wpsp-admin-popup-body').hide();
    wpspjq('#wpsp-admin-popup-wait').show();
    
    var dataform = new FormData(obj);
    wpspjq.ajax({
        url: wpsp_admin.ajax_url,
        type: 'POST',
        data: dataform,
        processData: false,
        contentType: false
    })
    .done(function (response) {
        window.location.reload();
    });
}
/**
 * Execute poup form submit action via ajax
 */
Execute poup form submit action via ajax
Execute poup form submit action via ajax
function wpsp_admin_submit_popup(obj){
    wpspjq('#wpsp-admin-popup-body').hide();
    wpspjq('#wpsp-admin-popup-wait').show();
    var dataform = new FormData(obj);
    wpspjq.ajax({
        url: wpsp_admin.ajax_url,
        type: 'POST',
        data: dataform,
        processData: false,
        contentType: false
    })
    .done(function (response) {
        window.location.reload();
    });
}
function wpsp_admin_submit_popup ( obj ) { wpspjq ( '#wpsp-admin-popup-body' ) . hide ( ) ; wpspjq ( '#wpsp-admin-popup-wait' ) . show ( ) ; var dataform = new FormData ( obj ) ; wpspjq . ajax ( { url : wpsp_admin . ajax_url , type : 'POST' , data : dataform , processData : false , contentType : false } ) . done ( function ( response ) { window . location . reload ( ) ; } ) ; }
Execute poup form submit action via ajax
Execute poup form submit action via ajax