echo '
<td><input type="checkbox" name="'.$data2["name"].'" value="'.$data2["name"].'"
onclick="document.getElementById(numberof'.$data2["name"].').disabled=this.checked;"></td>
<td><input type="text" size="1" name="numberof'.$data2["name"].'" value="1" " ></td>';
Hello!
I used the last solution in this question but it don't work.
How to disable textbox depending on checkbox checked
What can be wrong with it?
Best regards, Susi :*