1104 Part IV . JavaScript Core Language Reference Listing 41-2: Variable Scope Workbench Page
Variable Scope Trials In this page, you define a number of variables some global, others local that are spread out in the document s Head and Body sections. When you load this page, it runs the testValues() function, which accounts for the current values of all the variable names. The script then follows up with one more value extraction that was masked in the function. The results of the page look like this: headGlobal is: Gumby headLocal value returned from head function is: Pokey aBoy is: Charlie Brown local version of hisDog is: Gromit global version of hisDog is intact: Snoopy
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to
servlet web hosting services.
This entry was posted
on Wednesday, September 19th, 2007 at 3:23 am and is filed under Coldfusion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.