Pass in an array of Deferreds to $.when()

To pass an array of values to any function that normally expects them to be separate parameters, use Function.prototype.apply, so in this case you need: $.when.apply($, my_array).then( ___ ); See http://jsfiddle.net/YNGcm/21/ In ES6, you can use the … spread operator instead: $.when(…my_array).then( ___ ); In either case, since it’s unlikely that you’ll known in advance … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)