_DC.Script🔗 Dyalog Script widget

embeds JavaScript in page–

Constructor: [Code [File]]

Code – the JavaScript code to embed inline

File – the location of the JavaScript file to link to

Public Fields:

Code – the JavaScript code to embed inline

File – the location of the JavaScript file to link to

Notes:

Code and File are mutually exclusive if both are specified, Code will be used

This is frequently used with ScriptFollows to embed inline scripts

Examples:

Script '' '/Scripts/myJavaScriptFile.js'

Script 'alert("Hello World!");'

Relevant Sample Pages:

Controls used on this page: Dyalog: Tabs Base HTML: style