Mayur  Gujrathi

Mayur Gujrathi

  • 410
  • 3.9k
  • 1m

how to get text of checkbox in javascript

Sep 21 2012 6:29 AM

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)