Posted By

dato on 07/11/11


Tagged

javascript google jquery CDN Hosted


Versions (?)

Llamada a jQuery en Google y alternativa si la conexion falla


 / Published in: jQuery
 

  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  2. <script type="text/javascript">if (typeof jQuery == 'undefined') {
  3. document.write(unescape("%3Cscript src='/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
  4. }</script>

Report this snippet  

You need to login to post a comment.