title: jQuery Tips and Tricks
body: <h2>Syntax</h2>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2218129#2218129">Shorthand for the ready-event</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2218135#2218135">Line breaks and chainability</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/389474#389474">Nesting filters</a> by Nathan Long</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/552831#552831">Cache a collection and execute commands on the same line</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/1519474#1519474">Contains selector</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2750689#2750689">Defining properties at element creation</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/3967325#3967325">Access jQuery functions as you would an array</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/182666#182666">The noConflict function - Freeing up the $ variable</a> by Oli</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/382853#382853">Isolate the $ variable in noConflict mode</a> by nickf</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2218120#2218120">No-conflict mode</a> by roosteronacid</li>
  </ul>
  
  <h2>Data Storage</h2>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/382834#382834">The data function - bind data to elements</a> by TenebrousX</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/5410587#5410587">HTML5 data attributes support, on steroids!</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/504776#504776">The jQuery metadata plug-in</a> by Filip Dupanović</li>
  </ul>
  
  <h2>Optimization</h2>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/1019899#1019899">Optimize performance of complex selectors</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/504732#504732">The context parameter</a> by lupefiasco</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/389793#389793">Save and reuse searches</a> by Nathan Long</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/382922#382922">Creating an HTML Element and keeping a reference, Checking if an element exists, Writing your own selectors</a> by Andreas Grech</li>
  </ul>
  
  <h2>Miscellaneous</h2>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/389906#389906">Check the index of an element in a collection</a> by redsquare</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/892617#892617">Live event handlers</a> by TM</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/696385#696385">Replace anonymous functions with named functions</a> by ken</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/191139#191139">Microsoft AJAX framework and jQuery bridge</a> by Slace</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/922865#922865">jQuery tutorials</a> by egyamado</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/998547#998547">Remove elements from a collection and preserve chainability</a> by roosteronacid</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/191061#191061">Declare $this at the beginning of anonymous functions</a> by Ben</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/1771311#1771311">FireBug lite, Hotbox plug-in, tell when an image has been loaded and Google CDN</a> by Colour Blend</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/182715#182715">Judicious use of third-party jQuery scripts</a> by harriyott</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/1584927#1584927">The each function</a> by Jan Zich</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/1235178#1235178">Form Extensions plug-in</a> by Chris S</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2750689#2750689">Asynchronous each function</a> by OneNerd</li>
  <li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/4962433#4962433">The jQuery template plug-in: implementing complex logic using render-functions</a> by roosteronacid</li>
  </ul>