I am working ajax,when I Ajax call, the Ajax continues to not work. It goes straight to error: and I get Object Object.
Loading
I am working ajax,when I Ajax call, the Ajax continues to not work. It goes straight to error: and I get Object Object.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Oct 31, 2023, 12:39 PM
Hi Garima,
Please put debugger in getLineDeptPending() in your ReportsController and check return type of getLineDeptPending method which take appCode as parameter(check your parameter datatype it should be same in method parameter passed from Ajax method). It should return json object. Check below code when this code run it shout hit debugger in getLineDeptPending method
Garima BansalPosted Oct 31, 2023, 11:53 AM