I have a web service that returns a JSON encoded array of data. I then use jQuery\'s .each() function to iterate through that array but in Firefox it iterates d
Properties in objects have no inherent order. The ECMAScript specification doesn’t guarantee that for…in statements will traverse the object by its properties in alphabetical order. jQuery.each uses for…in under the hood when used on objects.
If the order is important to you, use an array instead of an object.