aspose file tools
The moose likes Servlets and the fly likes Check Box issue in javascript sorting Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Check Box issue in javascript sorting" Watch "Check Box issue in javascript sorting" New topic
Author

Check Box issue in javascript sorting

Deepak Ram
Greenhorn

Joined: Aug 09, 2007
Posts: 12
I have a problem in sorting. I have a table and the first column of all the tbody rows in the table has a checkbox. All the check boxes in the table will be checked by default when the page is loaded initially. I have a sorting functionality. When i try to sort the table, if any check box is unselected, the check box gets selected automatically. The command used for inserting the rows in the table is

table.tBodies[0].appendChild(<<innerHTML of the row>> ;

When i see the innerHTML of the row, the property of the checkbox is unselected. But after the execution of the above command, the checkbox gets selected automatically.


The strange part is this scenario happens only in IE 6. The functionality is working as expected in IE 7.

Has anybody faced this issue before? If so, any solution for the above.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Check Box issue in javascript sorting
 
Similar Threads
adding param value dynamically html:link forward tag?
Check Box issue in javascript sorting
JTable selection problem
JTable selection problem
Select All checkbox in Jtable