ONLOAD ElementSpecifies JavaScript to be executed when TQS switches to a location of this type. Syntax<ONLOAD> ... </ONLOAD> AttributesNone. PlacementThe ONLOAD element must be a child of the CUSTOMDIV element. ChildrenNo children are supported within the ONLOAD element. RemarksScript within this element and the SCRIPT element may use the script variables and functions described in the reference. It is recommended that the ONLOAD script calls a function defined in the SCRIPT element. TQS 2.7 and earlier All variables, functions, and any other identifiers must begin with "S_". This is not required as of TQS 2.8. The script contents must use > and < instead of > and <, respectively. Only JavaScript may be used. Example<ONLOAD> loadFirstQuestion(); </ONLOAD> |