[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Unobtrusive sortable table script: sort form checkbox fields
Page 1 of 1

Unobtrusive sortable table script: sort form checkbox fields

PostPosted: Wed Jun 20, 2007 5:18 pm
by adamcsmith
Hello,

I have implemented the sortable table script and it works well and was simple to do. I have a table that includes a column of checkboxes. I am able to check some of the checkboxes, then sort the column by clicking the checkbox's column heading, which will sort the checkboxes by "checked" or "not checked" groupings...but it works perfectly in IE7 only :(

Has anyone had any experience using this script in this way and is there a way to modify the code to make it work in the way I want across additional browsers?

Firefox sorts the checkboxes, but in no discernable order.
IE6 does not maintain the checked state, the checks from all checked checkboxes disappear.

A test page is set up here:

http://www.squeakywheelmedia.com/dev/table-sort.html

Thanks in advance for any help/thoughts/advice!

Adam Smith

RE: Unobtrusive sortable table script: sort form checkbox fi

PostPosted: Thu Jun 21, 2007 2:21 pm
by adamcsmith

RE: Unobtrusive sortable table script: sort form checkbox

PostPosted: Thu Jun 21, 2007 2:36 pm
by adamcsmith

RE: Unobtrusive sortable table script: sort form checkbox

PostPosted: Thu Jun 21, 2007 3:40 pm
by adamcsmith

Solution!

PostPosted: Thu Jun 21, 2007 5:57 pm
by adamcsmith