How to access ajax call's parameters in the success function?
I’m doing several ajax calls of the following type in a loop: var param1Val = ‘will be different in each loop’; var param2Val = ‘will be different in each loop’; $.ajax({ type: ‘POST’, url: someUrl, dataType: ‘xml’, data: { ‘param1’: param1Val, ‘param2’: param2Val }, success: function(result){ // how to access param1 and param2 here??? }… Read More How to access ajax call's parameters in the success function?