Monday, January 27, 2014

While trying to access javascript code from some CDN like Google, we get error something like “attempt to run uG request”. How to resolve it

While trying to access javascript code from some CDN like Google, we get error something like “attempt to run uG request”. How to resolve it

While providing URL, do not specify the protocol. Use like this:
<script type='text/javascript' src= '//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'></script> 

No comments:

Post a Comment