In this JSfiddle
http://jsfiddle.net/littlesandra88/jy93J/1/
have I the problem that when Save is clicked, it replaces “Details” with “0”.
If I comment this line
$(this).prev().html(order);
it doesn’t do it any longer, but then sorting doesn’t work. Try clicking on “Signed” to sort.
When Save is clicked this is executed
$('form').live('submit', function() {
return false;
});
What causes “Details” to “0”?
And how can that be fixed, so sorting still works?
The selector
'#accTable inputincludes<input value="Save" type="submit">.Add
:checkboxto the selector to only selectinputelements that are checkboxes.