TroyGrosfield.com TroyGrosfield.com

Archive for April, 2014

Headline

JQuery Sorting by Attribute Value

Author
by Troy Grosfield
Date
April 25th, 2014
Category
Developer
Story

Since jquery objects are “array-like” and not actual arrays,  things like “sort” raise a few questions after inspecting jquery code.  As of jquery 2.1.0 you notice that “sort” isn’t a document method and diving into the source, you’ll see that it’s for internal use only: // For internal use only. // Behaves like an Array’s … read more

Tags
Comments
No Comments »