How do check if the item selected in list item in SPD2013? [closed]
-
08-12-2020 - |
题
I want to fire Click event on my other web part when I select the item in LV web part.
解决方案
You can use Jquery To execute script when the list item has been selected by doing the following
- Edit Page.
- Add Script Editor.
<script src="https://code.jquery.com/jquery-1.11.2.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $(".ms-listviewtable > tbody > tr").click(function(){ alert("write the code here"); }); }); </script>