JQuery, of course, did not invent the chaining method; this was already possible in JavaScript and many other languages.
The chaining method may have been legitimized in many jQuery eyes. Many Java programmers still insist that object functions should return only other objects, not the object itself. As I recall, 10 years ago I received a modification from the Java mailing list, suggesting otherwise :)
source share