• Post Reply Bookmark Topic Watch Topic
  • New Topic

Check Box issue in javascript sorting

 
Deepak Ram
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!