hbfaither
Posts: 15
|
Posted: 04/19/2004, 8:36 AM |
|
The following code was added to HTML in custom code from an "on change" event. What I wish to happen is if the value of "subcat01.action is changed by the user then I wish to make "subca01_button" visible, depending on the value. My question s how do I reference the form "Mrsr_data" and the values.
var A_action
A_action = "A"
document.mrsr_data.subcat01_button.visible = false
if ( document.mrsr_data.subcat01_action.value != empty){
if (mrsr_data.subcat01_action.value != A_action){
document.mrsr_data.subcat01_button.visible = true
}
}
|
|
|
|