jQuery Standards (8) – Chaining

Synopsys Use chaining as an alternative to variable caching and multiple selector calls. Where chaining is used, appropriate line breaks and indentation should be used. Do not over-chain. For long chains it acceptable to cache intermediate objects in a variable. Description Chaining is one of the signature features of jQuery. … Continue reading