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 for 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 for 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.

Be a part of the DaniWeb community

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