I\'m looking at a jQuery plugin, which has a single function. After setting up the appropriate defaults though a constructor argument the function defines a couple of helper fu
It returns the JQuery object which method is called on as stated in the docs. So you can call another method on the returned value.
// without method chaining myobject.a() myobject.b() myobject.c() // with method chaining myobject.a().b().c();
See method chaining and fluent interface