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#
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI 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#
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.