Joined June 2012
·

Damian Le Nouaille

Senior Ruby Developer
·
·
·

Posted to jQuery DOM cache object over 1 year ago

@pgib : You can but sometimes you use the same selector in multiple functions. Not necessarily chaining.

@leemour : Nice one!

Posted to jQuery DOM cache object over 1 year ago

If you don't specify something (normal case) it won't force refresh. If you set something (true or other) it will force. You can check force === true if you want to be more specific.

Posted to jQuery DOM cache object over 1 year ago

You can of course encapsulate everything in a plugin or better implementation. That's why I wrote "This is an implementation".

Achievements
460 Karma
21,012 Total ProTip Views