I am getting
ReferenceError: data is not defined
and
>NetworkError: 500 Internal Server Error - http://localhost/WebApplication2/js/test.aspx"
But my aspx page is in right directory
I did all these to remove internal server error :
Code is as per tutorial
Index.html (Callback Data will be posted Here)
this is My Ajax method :
$('#button').click(function () {
$.ajax({
type: "POST",
url: "test.aspx",
data: {"name=" + name},
success: function (data) {
$("#feedback").html(data);
}
});
});
test.aspx
similar Posts :
Edit : JSLint /JSHint /SharpLinter still not helping much for detecting syntax Error .I need some suggestion for syntax check
there were issue of placing datatype parameter too.. it is not in my case .
I could not able to find something simple there..Please suggest