I am trying to send data to php file using jQuery and ajax. However, I am only able to receive the response from ajax in json format and unable to send data.
$.ajax({
url: 'myFile.php',
type: 'GET',
data: {ID:1},
dataType:'json',
cache: false,
beforeSend:function(e){},
processData: '',
success: function(response){
Initialize(response);
},
error: function(err){alert('error')}
});