Hi,
I would like to hide "Publish" control in the "Workflows" section in the "Document" tab in the SharePoint Document Library using jQuery OR the entire "Workflow" section..
I would like to hide it either after the page loads or when users select any document and the "Document" tab loads.
I am using following jQuery code, however it is not working
<script src="/Sites/Bits/layouts/Bekaert.SPS.Intranet.Solution/MasterPage/Scripts/jquery-1.4.4.min.js">
</script>
<script type="text/javascript" id="ms-addnew_js">
$(document).ready(function () {
$(":checkbox").click(function(){
$("#Ribbon.Documents.Workflow").hide();
});
});</script>
I guess problem with above code seems that the control is not yet loaded when a document is selected using check box.
Any suggestion on this would be highly appreciated.
Regards,
SPGeek03