$.ajax({
type: "POST",
url: "../controller/jobs/php/post_job.php",
data:{
type: 300,
},
success: function(data){
$('#job_category').html(data);
}
});
$.ajax({
type: 'GET',
dataType: 'json',
url: url,
timeout: 5000,
success: function(data, textStatus ){
alert('request successful');
},
fail: function(xhr, textStatus, errorThrown){
alert('request failed');
}
});