/// <summary>
 ///     Loads the specified SCRIPT file.
 ///     This passes execution to 'jQuery.GetScript' but keep track of the URL as being loaded
 ///     so future checks to IsLoaded will report the script is in existence on the client.
 /// </summary>
 /// <param name="url">The URL of the SCRIPT file to load.</param>
 /// <param name="callback">Callback to invoke upon completion.</param>
 public void Load(string url, AjaxCallback callback)
 {
     jQuery.GetScript(url, delegate(object data)
                               {
                                   CacheUrl(url);
                                   if (callback != null) callback(data);
                               });
 }
 /// <summary>
 /// Adds a callback to handle a successful completion of the request.
 /// </summary>
 /// <param name="callback">The callback to invoke.</param>
 /// <returns>The current request object.</returns>
 public jQueryXmlHttpRequest Success(AjaxCallback callback)
 {
     return null;
 }
Ejemplo n.º 3
0
 public static void Get(string url, AjaxCallback<object> target)
 {
     jQuery.Get(AppendUrlTimeStamp(url), target);
 }