Open list items in New Window SharePoint

Advertisement
In this article we are able to see how to open list items in to a new window in SharePoint.
We are having requirement, when user clicks on any list item it should have to open in new window, we can achieve this using JQuery.

Step: 1
Native to the particular list than you want to implement this functionality.

Step: 2
Edit the page, add script editor place the code as shown below.

<script>
$(document).ready(function(){
$('a[onclick*="EditLink2"]').removeAttr("onclick").attr("target","_blank") 
});
</script>

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM
Advertisements
SHARE

Unknown

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a comment