3
Answers

how to get text of checkbox in javascript

Mayur  Gujrathi

Mayur Gujrathi

12y
3.7k
1

Dear Sir


I want to get text of the checkbox in javascript created dynamically.

After viewing page source it looks like below code.

<td><input id="ChkCompList_0" type="checkbox" name="ChkCompList$0" /><label for="ChkCompList_0">JMF-BSE-CASH</label></td>

How to find checkbox lebal "JMF-BSE-CASH"

?


Regards

Mayur Gujrathi


Answers (3)