If what you means is:
1. When a checkbox is checked, the textbox in its adjacent cell is enabled for entering text.
2. When that checkbox is unchecked, that textbox is clear and disabled.
then, try adapt from this sample:
<script>
$(document).ready(function(){
var $checkbox = $("input[type=checkbox]");
var $textbox = $("input[type=text]");
$checkbox.prop(
"checked", false
);
$textbox.prop({
"disabled": true,
"value": ""
});
$checkbox.change(function () {
var nextTextbox = $(this).closest("td").next().find($textbox);
nextTextbox.prop({
"disabled": !$(this).prop("checked"),
"value": ""
});
});
});
</script>