Hi all,

for the last couple days i am working on asp.net based website and try
to perform ajax request using Request class.
to debug the code, i tried to alert the responseText and got all
default.aspx html tags. It cannot hit the method that i wanted to be
executed. i try to resolve this problem by changing the header's
content-type to "this.headers['Content-type'] = 'application/json' +
encoding".

it worked, but is it the right thing to do?

p.s.
sorry for my bad english guys..

Reply via email to