The end() function in jQuery returns the element returned to what it was before the last destructive change, so I can see how it should be used, but I saw code examples, for example: on alistapart (probably from earlier versions of jQuery - article since 2006), which completed each statement with .end() . eg:
$( 'form.cmxform' ).hide().end();
- Does this have an effect?
- Is that what I have to do?
- What returns the code above?
source share