aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamically created table's checkbox's value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamically created table Watch "Dynamically created table New topic
Author

Dynamically created table's checkbox's value

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
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


Thanks in Advance,
Kousik
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically created table's checkbox's value