Take the 2-minute tour ×

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

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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

$(function() {
  $("[id$='UploadMultipleLink']").css('display', 'none');
share|improve this answer
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? –  spStacker May 8 '12 at 14:34
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. –  Farrell May 8 '12 at 14:39
Ok Thanks!, i will try it out –  spStacker May 8 '12 at 14:47

Your Answer


