New answers tagged

3

Rather than using $(document).ready() try this: <script> _spBodyOnLoadFunctionNames.push("ButtonFunc"); function ButtonFunc() { $('.ms-qcb-leftzone').append('<li class="ms-qcb-item"><a href="http://www.google.com">ButtonName</a></li>'); }) </script> If this doesn't work check that the selector $('.ms-qcb-leftzone') ...



Top 50 recent answers are included