JavaScript : Compare two arrays

Conditions : You have a arrays by structure with following : array1 : [ {“Name” : “John”, “Age”: “24”}, {“Name”: “Kata”, “Age”: “25} ] You have another arrays by structure with following: array1 : [ {“Name”: “Kata”, “Age”: “25} {“Name” : “John”, “Age”: “24”}, ] Expected : You want to compare equals 2 this arrays […]

ExtJS : Ajax asynchronous vs synchronous request

Ajax is used for get data to client side. It’s special helpful in case get data at runtime. The structure: Ext.Ajax.request({     url: ‘/controller/GetData’,     params: {         id: 1     }, timeout: 30000, method: GET or POST, async: isAsync // Synchronous or Asynchronous     success: function(response){   […]