Offline Access to Ajax.googleapis.com in Asp.net MVC 2

Is it possible to download files like //ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js and http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js to allow radial applications to work offline and avoid the browser from redirecting to other pages? My asp.net mvc application relies on these files.


Question:

Files are utilized in my asp.net mvc application.

The following URL can be used to access the jQuery library in its minimized form:
//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js

The following link refers to the jQuery UI library, version 1.8.5, which can be found at //ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js.

Is it possible to obtain these for offline use as files through radial applications?


Solution:

To download the files, simply right-click on the links and save them. Afterwards, update your script reference to refer to the newly saved files.

To determine if jQuery has been loaded from the online source, consider including
javascript code
. If not, then reference the offline versions.


EDIT

 
  

Frequently Asked Questions