CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 referencing forms and values from on-change event on client side

Print topic Send  topic

Author Message
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
}
}
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.