function test(art) {
document.formular.eval(art+"_name").value = "Test";
}
This gives an eval is not a function error
.
I tried document.formular.[art+'_name'].value = "Test";
Which won't work either.
function test(art) {
document.formular.eval(art+"_name").value = "Test";
}
This gives an eval is not a function error
.
I tried document.formular.[art+'_name'].value = "Test";
Which won't work either.