1.Priority use ID selector 2.Add TagName before Class selector 3.Never add Tag before ID, because ID is unique 4.Use find() instead of children() 5.Chain operations faster than cache
Loading jQuery Always try to use a CDN to include jQuery on your page. <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script>window.jQuery || document.wri