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>
$(document).ready(function(){
$('a[onclick*="EditLink2"]').removeAttr("onclick").attr("target","_blank")
});
</script>
0 comments:
Post a Comment