Recently I created a jQuery add-in that was supposed to add a custom button to each document in the document library. I found 2 different approaches for the same. 1. Edit XML of the document library in designer. 2. Create a J Query add-in that would add a custom button. I found Approach 1 to be easy to do but it was risky to modify the XML of the Document library. So the only option that I was left with was to create a j Query add-in. There can be number of requirements for which you may need to add a custom button to document library, lets take an example of adding a custom download a copy button to each item of document library. Below is the code sample that will add a download a button link to your document library <script type="text/javascript" src="//ajax.googleap...