$("#sortable").sortable();
$("#sortable").disableSelection();
});
+
+function all_checkboxes(checked) {
+ $("input[type='checkbox']:not([disabled='disabled'])").attr('checked', checked);
+}
</script>
<form method=post action=/data/table >
+<a href="#" onClick="all_checkboxes(true); return false;">all</a>
+<a href="#" onClick="all_checkboxes(false); return false;">none</a>
+
<ul id="sortable">
% foreach my $n ( @$columns ) {
<li>