Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How to checked or Unchecked the check box when the text of the check box is selected using JavaScript's/Jquery

$
0
0

<asp:treeview id="tv1" runat="server" showcheckboxes="All" expanddepth="0">
<Nodes>
<asp:TreeNode Text="New Node1" Value="New Node1">
<asp:TreeNode Text="New Node2" Value="New Node2">
<asp:TreeNode Text="New Node2.1" Value="New Node2.1"></asp:TreeNode>
<asp:TreeNode Text="New Node2.2" Value="New Node2.2"></asp:TreeNode>
</asp:TreeNode>
</asp:TreeNode>
</Nodes>
</asp:treeview>

so Can we check or unchecked the text box when we click on Text of the check box.

Ex if we click the <input type="checkbox" name="tv1n0CheckBox" id="tv1n0CheckBox" />  on New Node1 then the node needs to be checked or unchecked.

Any help on it Please.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>