I am calling an mvc controller method vaia ajax call..When i put debugger on then that controller method is called sucessfully otherwise my ajax call is failing. What to do?

Member Avatar

LastMitch

I am calling an mvc controller method vaia ajax call..When i put debugger on then that controller method is called sucessfully otherwise my ajax call is failing. What to do?

@amrita111

Please post your code. You mention failing then what error appears?

ok.Sure I will.I have tried to display the error in an alert.I am getting
[object Object] error.

Member Avatar

LastMitch

ok.Sure I will.I have tried to display the error in an alert.I am getting

@amrita111

[object Object] 

That errors looks like a AJAX error. Does it happend on all browsers?

Post your code.