Open Sharepoint List new/edit/display form in sharepoint designer and put following code.
<script type="text/javascript">
var aList=document.getElementsByTagName("a");
for(i=0;i<aList.length;i++)
{
if(aList[i].innerHTML=="Delete Item")
{
aList[i].parentElement.parentElement.style.display="none";
}
}
</script>
Comments
Post a Comment