With the code below is possible to get separate values, using the variable data. I have inside 2 variables content and pagination, and I want to separate them.
I need and answer that doesn’t use JSON.
jQuery.ajax({
type: "POST",
url: "<?php echo DOMAIN ?>inc/ajax_content/sort-jobs-content.php",
data: "id_select="+id_select+"&selected_value="+value,
dataType : "html",
complete: function () { },
success: function(data){
}
});
@partoa Thank you for your help i finally fixed my problem , just i used
closestfunction , becausefindis showing finded div and the rest is empty , anyway thank you for your help !