script element

The script element is a built-in element that exposes a number of script level properties .

Syntax

<script>
This element has no attributes
</script>

Properties

script.applicationmode
script.currentblock
script.currentexpt
script.currenttime
script.currenttrial
script.elapsedtime
script.filename
script.fullpath
script.groupassignmentcode
script.starttime
script.subjectid
script.trialcount

Remarks

The script element is a built-in object and can not be explicitly declared in a script. It exposes a number of useful properties, however, that can be referenced in expressions throughout the script..

Examples


Send comments on this topic.
Copyright Millisecond Software, LLC. All rights reserved.