Variables (identifiers) must begin with a letter, underscore, or dollar sign:
|
Declare variables in var statements: var aNumber = 137; var aString = "1"; |
Embed variables in HTML attributes: <IMG SRC="&{v1};" WIDTH="&{v2};"> where v1 and v2 are JavaScript vars |