Así puede ser:
Código javascript
:
Ver originalfunction eBtn(){
for(x=0;x<=xForm.length;x++){
if(document.xForm.elements[x].value==''){
document.getElementById('cmdSubmit').disabled = false;
return;
}
}
document.getElementById('cmdSubmit').disabled = true;
}