Complete Javascript API

Last post 06-24-2014, 8:35 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  06-23-2014, 1:11 AM 80339

    Complete Javascript API

    I can see the samples using Javascript functions that are not documented in the accompanying chm.

     

    Is there a place where all the available javascript functions are documented?

     

    Thanks.  


    www.instantchecks.com.au

    www.fit2work.com.au
  •  06-23-2014, 9:12 AM 80340 in reply to 80339

    Re: Complete Javascript API

    Hi vickMercury,

     

    You can find all javascript api at http://www.ajaxuploader.com/document/scr/html/JavaScript-API.htm 

     

    Regards,

     

    Ken 

  •  06-23-2014, 7:52 PM 80342 in reply to 80340

    Re: Complete Javascript API

    Pretty sure you know what I am asking for and that, that page does not document function listed in your samples. Such as getqueuecount() and startupload().

     

    I am looking a well documented and complete list of javascript functions available with your control.


    www.instantchecks.com.au

    www.fit2work.com.au
  •  06-24-2014, 8:35 AM 80343 in reply to 80342

    Re: Complete Javascript API

    Hi vickMercury,

     

    the link I sent is the only js api document. If you want to find all properties/methods of the uploader object, please try the example below. it will list all.

     

    1. <%@ Page Language="C#" Title="Customize the queue UI" %>  
    2.   
    3. <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">  
    5.   
    6. <html xmlns="http://www.w3.org/1999/xhtml">  
    7. <head id="Head1" runat="server">  
    8. </head>  
    9. <body>  
    10.     <form id="Form1" runat="server">  
    11.         <CuteWebUI:UploadAttachments ID="Uploader1" runat="server"></CuteWebUI:UploadAttachments><br />  
    12.         <input type="button" value="get uploader object properties/methods" onclick="getProperties()" />  
    13.         <div id="div1"></div>  
    14.     </form>  
    15. </body>  
    16.   
    17.   
    18. <script type="text/javascript">  
    19.     function getProperties() {  
    20.         var uploadobj = document.getElementById('<%=Uploader1.ClientID %>');  
    21.                  var div1 = document.getElementById('div1');  
    22.                  for (var i in uploadobj) {  
    23.                      div1.innerHTML += i;  
    24.                      div1.innerHTML += "<br/>";  
    25.                  }  
    26.   
    27.              }  
    28. </script>  
    29.   
    30.   
    31. </html>  
     

    Regards,

     

    Ken 

View as RSS news feed in XML