If you really have just the input tag inside the td (and no other text, whitespace, or tags), you can simply use the following to get a reference to that element:
document.getElementById("c1s2a").firstChild;
To set its value:
document.getElementById("c1s2a").firstChild.value = 0;
There is also a property called firstElementChild
, which ignores text nodes and comment nodes, but unfortunately isn't supported in IE before version 9.
Another option on modern browsers is document.querySelector
, that takes a CSS selector and returns a DOM node. The support table says it's IE8+, but I heard there are some compatibility issues on IE8.
Examples:
document.querySelector("#c1s2a input").value = 0;
or
document.querySelector("#c1s2a input[name='allow_move']").value = 0;