US: 800.995.PLUM UK: 0845.355.3330
- What is IVR?
- IVR Products & Services
- Free Consultation
- Plum IVR Surveys
- About Us
from the Plum Voice IVR Glossary
The <script> element allows the specification of a block of client-side scripting language code, and is analogous to the HTML <SCRIPT> element. However the <script> element in VoiceXML does not specify a type, as it must be ECMAScript only. The src attribute indicates the URI specifying the location of the script, if it is external. The srcexpr attribute dynamically determines the URI to fetch by evaluating this ECMAScript expression. The charset, which defaults to UTF-8 is the character encoding of the script designated by src. The fetchtimeout, which defaults to fetchtimeout global property, indicates the timeout for fetches. This must be specified with the appropriate time units (120s for 120 seconds). The maxage, which defaults to the "scriptmaxage" global property value, tells the platform the maximum acceptable age, in seconds, of cached scripts. The maxstale, defaults to the "scriptmaxstale" global property value, tells the platform the maximum acceptable staleness, in seconds, of expired cached scripts.
|© 2013 The Plum Group, Inc.|