hpl
May 4th, 2002, 10:22 AM
I want to set the visibility of a text field from a function in JS. I have tried this, but the code is not valid. What could be wrong?
[code]
function test() {
if (matval=="35") {
document.navform.text1.style.visibility = hidden;
} else {
document.navform.text1.style.visibility = visible;
}
}
[code]
function test() {
if (matval=="35") {
document.navform.text1.style.visibility = hidden;
} else {
document.navform.text1.style.visibility = visible;
}
}