I have a document library in that Folders and Sub folders are there. The folders are creating through code.

How to add button in each folder page to download multiple file at once using JavaScript or C#

Click here to view the image


Try below code.

$(".ms-listview-qcbContainer ul.ms-qcb-leftzone ").append("<li class='ms-qcb-item'><input type='button' value='Your Button Name' class='hvr-grow-shadow' id='bt' onclick='getfiles()' style='border: 1px solid #0072c6;'></li>");

Hope It will work for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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