[jQuery] Problem with URL formatting with $.ajax
Here is my code:
$.ajax({
url: lUrl,
global: true,
async: false,
data:{"none":"none"},
type: "GET",
dataType: "text",
success: function(result){
alert("result is "+result);
parsedJSON = JSON.parse(data);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert(textStatus);
}
});
All of my urls that are sent to the server have "?_=(some random
number)". In the specific case of the above code, the generated URL is
"http://url/script.php?_=1254497109001&none=none". How can I prevent
this from happening? Why is it happening?