2009-09-13, 02:07 PM
Ah, thanks. I myself used this, as I name all the input-data in the forms. Seems to work fine in this way:
Noah
Code:
function enable_disable(str){
var x = document.getElementsByName(str)[0];
x.disabled = !x.disabled;
}Noah

