Move Add new item link from bottom to top location

If you have a huge List with many items enlisted or a huge library, then you need to scroll down and then click on Add new item link. It's a time consuming work. So it will be better if the Add New Item can be made to appear on the top of the List so that you don't have to scroll down and save some time.
 
It can be achieved by just adding the below mentioned block of code in the Content Editor Web Part (CEWP)
  1. <script src=”_/DocLib/jquery/1.4.2/jquery.min.js“ type=”text/javascript”></script>  
  2.  <script language=”javascript” type=“text/javascript”>  
  3.    
  4. $(document).ready(function () {  
  5.    
  6. $(“td.ms-addnew“).parent().parent().parent().each(function () {  
  7.  $(this).insertBefore($(this).prev());  
  8.  });  
  9.    
  10. });  
  11.    
  12. </script>  
Ebook Download
View all
Learn
View all