Looping through Checkboxes using Javascript

后端 未结 3 1064
说谎
说谎 2021-01-27 12:35

I tried using javascript samples that I found here and other places. The problem is that I am using a Table control working at the server, so the javascript I was using does not

3条回答
  •  花落未央
    2021-01-27 13:11

    You can get the HTML ID of the checkboxes by using the C# ClientID property. Insert that ID into your Javascript, and you will then be able to select the relevant checkboxes and do whatever you like with them.

提交回复
热议问题