Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically created table's checkbox's value

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a dynamically created table which will contain 2 cells.
In cell 1 :- A Dynamically created checkbox
In cell 2 :- A Dynamically created text node

I can not retrieve the checkbox's status(checked).
How can I fetch that?





I have to check from the above code whether the checkbox is checked or not.

Please tell me the way..

Thanks,
Kousik
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lhsTbl.rows[i].cells[0].checked is a reference to the cell. How would it know what the checkbox status is? You need to look at the input in that cell.



Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic