How do i go about hiding the "Upload Multiple Files... " option in document library using jquery?..i do not have access to the sharepoint designer so only with content editor webpart i have to do it..anu suggestions

1 Answer 1


You could try this, assuming the link element has the value UploadMultipleLink in its ID:

$(function() {
  $("[id$='UploadMultipleLink']").css('display', 'none');
  • Hi Farrell, thanks for the reply - but i have noticed in the page source the id of the link is id="ctl00_PlaceHolderMain_ctl01_ctl05_UploadMultipleLink" i dont want to use this since i have heard it is kind of dynamic..is there a work around for this?
    – SandeshR
    Commented May 8, 2012 at 14:34
  • 1
    The jQuery selector I used in the example is an "Select ID which ends with". So it selects all the **********UploadMultipleLink elements. In other words, it doesnt matter what is generated before UploadMultipleLink. It also passes on whateversharepointgeneratesUploadMultipleLink.
    – Colin
    Commented May 8, 2012 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.