+ 2

During an ajax call if we are hitting a servlet which will return some data , then how to catch these data ?

In success block i.e success ; function(data) {} or in following variable var data = $.ajax({ });

21st Feb 2020, 10:40 PM
Rahul Kumar
Rahul Kumar - avatar
1 Réponse
+ 2
here is possible what you are looking for... it is a bit lengthy and yet very complete https://stackoverflow.com/a/4113258/7218253
22nd Feb 2020, 12:30 AM
BroFar
BroFar - avatar