jeudi 21 mai 2015

Converting SqlResultsetRowList to an array in Safari/iOS?

I'm looking to quickly iterate over a SqlResultsetRowList using $.each. This seems to be an issue in Safari since the SqlResultsetRowList is not an array(as opposed to Chrome which picks it up as an array).

Trying to avoid For loops for performance sake to create the array and have tried the below without any luck.

var arr = $.makeArray(results.rows);

Any suggestions on how to covert to an array?

Aucun commentaire:

Enregistrer un commentaire