So I have some code where I do something like:
var example = $.ajax({
type: "GET",
url: "requests.php",
data: {
requestType: "type1",
id_structure: 1
Is there any way of getting the "id_structure" from the example var? I mean, withouth using the success or any other callback...
Edit:Actually the ajax requests are saved into an an array instead of the variable example and sometimes I need to abort ajax requests with a given id. So I need to check if the id_structure is the same as the one I want to abort...