Hello
I have the following ajax request
function ajaxfunc() {
$.ajax(
{
type: "get",
url: loadUrl,
data:"param=" + param,
datatype:"html",
success: function(data){
$("#post").html(data);
}
});
}
Now I want to compare a variable from the server and do other stuff with the output before showing it in '#post'
How do I do that?
The server page is jsp