How to add a variable to an HTML button
1  
2  
3  
4  
1  
In Name, type a unique name for the variable. JavaScript event handlers use the name to access the variable’s information through dataObject. For example, the event handler accesses a variable named credit as dataObject.credit.
2  
Variables displays the variable you created, as shown in Figure 22-12.
Figure 22-12  

Additional Links:

Copyright Actuate Corporation 2012