Now I want to track the employee code and other data after successfull the action and dbSaveChange(). Because we want to reassign that employee code in dropdown after saving the record and fetch the saved file as link to download in same tab.
For more understanding I have attached the sample what I have used in my project.
if (xhr.status === 200 && response.status === 'OK') {
console.log('successful');
} else {
console.log('failed');
}
}
0
Suraj KumarRank #353 · 7.1K reputationPosted Jan 5, 2018, 1:20 AM EST
0
Hello,
Please have a look to the below code. As you can see below after success I can track everything in data and can put condition based on the value in that data. In the same manner I want to track the data after xhr request send where I am stuck. I have not to show the message only. I want to show the data of employee for which I have send the request. Now I am sending it to Index action but if I will be able to track the sent data then I can show that employee data.
Rajeesh MenothRank #118 · 18.4K reputationPosted Dec 13, 2017, 10:06 PM EST
Srikant MaruwadaRank #3,483 · 416 reputationPosted Jan 4, 2018, 11:35 PM EST
Suraj KumarRank #353 · 7.1K reputationPosted Jan 4, 2018, 11:57 PM EST
Srikant MaruwadaRank #3,483 · 416 reputationPosted Jan 5, 2018, 12:20 AM EST
Suraj KumarRank #353 · 7.1K reputationPosted Jan 5, 2018, 1:20 AM EST
sai roja3 reputationPosted Jan 18, 2018, 7:01 AM EST
kalai vanan145 reputationPosted Mar 6, 2018, 12:17 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts