Try this it will work . As your returned type is not pure json or it is thinking thats why it is failing , remove datatype:json and give a try , it should work $. Ajax({ type: 'POST', url: '/Search/BasicSearch.
Aspx/say contentType: "application/json; charset=utf-8", data: '{}', success: function (msg) { alert(msg. D); }, error: function (jqXHR, textStatus, errorThrown) { alert(textStatus + ' ' + errorThrown); } }).
With this approach, the success event actually fires, but msg is the html for the whole page. Again, got to be something with . Net 2.0.
I am just going to make a JSON based service to house all functions I plan to call via jquery. – user163757 Jul 3 at 12:50 I just tried this way on my work computer and it works. Not sure if I had a typo at home or what.
– user163757 Jul 13 at 16:46.
He's doing it correctly for ASP.NET. – Dave Ward Jul 3 at 0:22 Thanks for the suggestion. Tried using the properly formatted json string, still doesn't work.
– user163757 Jul 3 at 0:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.