Hiding and showing different elements

Last post 02-25-2009, 9:25 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  02-24-2009, 5:01 PM 49202

    Hiding and showing different elements

    I got this bit of code from another post pertaining to hiding the cancel button...
     
    1. function CuteWebUI_AjaxUploader_OnStart()  
    2. {  
    3.         var hidden=this;  
    4.         hidden.internalobject.insertBtn.style.display="none";  
    5.         hidden.internalobject.cancelBtn.style.visibility="hidden";  
    6.  } 
     
    What are the other id's for the progress bar, progress text, and any other elements that display within the single file uploader process?

    Example:  hidden.internalobject.PROGRESSTEXT.style.display = "none"; ??

    Thanks
    Filed under:
  •  02-25-2009, 9:25 AM 49226 in reply to 49202

    Re: Hiding and showing different elements

    Hi,
     
    The other elements is
     
    progressCtrl/progressText
     
    You can get all internal member name by this way:
     
    for(var p in hidden.internalobject)alert(p);
     
    Regards,
    Terry
     
     
View as RSS news feed in XML