jQuery: Hiding the Particular Item from the Left Navigation on SharePoint 2013 Team Site

  1. <script type="text/javascript">  
  2.             $(function () {  
  3.                 var textToHide = "NavigationItemTextToHide";  
  4.                 jQuery(".ms-core-listMenu-item:contains(" + textToHide + ")").parent().hide();  
  5.             });  
  6.     </script>