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?

Recommended Answers

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?

Jump to Post

All 3 Replies

Member Avatar

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.