Previous Example
-|-
Next Example
-|-
Return to Chapter Listing
Example 4.6:
Why You Should Use Var--Fixed Example
Now we've added the var keyword in the Display2 function, the buttons work correctly.
This is the script we used. First we created the variables and functions in the HEAD
Then we created two buttons:
Previous Example
-|-
Next Example
-|-
Return to Chapter Listing