Tu peux t'inspirer de ce genre de truc :
window.onload = function () {
document.getElementById('boutonsubmit').disabled = true;
document.getElementById('champtexte').onkey up = function () {
this.form.elements['boutonsubmit'].disabled = this.value.length<=0;
}}