I want to use jQuery's .get method to send an ajax call to the server.
I am using this line:
$.get("InfoRetrieve", { },addContent(data));
As you can see I want to call a function call addContent and pass it the data that is retrieved from the server.
The function addContent is below:
function addContent(data){
$("#0001").append(data);
}
It doesn't seem to work, can you see why.