lunes, julio 09, 2012

load jquery from google CDN, fallback local if something fail

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> <script> !window.jQuery &amp;&amp; document.write('<script src="js/jquery-1.4.2.min.js"><\/script>') </script>

No hay comentarios.: