Both return the number of elements. But length is faster. As of jQuery 1.8, size() has been deprecated.