- Contents
Interaction Scripter Developer's Guide
IS_System_AgentID
Definition
IS_System_AgentID returns the ID of an agent. See also IS_System_AgentName, which returns the name of the agent. Scripter will recognize click events from any HTML element whose name has an associated action documented in this API (e.g.: "IS_Action_CallComplete"). If the script needs to associate several buttons with the same action, then define the action using a meta element and call the click event on the meta element from buttons.
Example
<head> <meta name="IS_Action_CallComplete"> <meta name="IS_System_AgentID"> <script language=javascript> function OwnAgentCallback(callBackTime) { IS_Action_CallComplete.agentID = IS_System_AgentID.value; IS_Action_CallComplete.callBackTime = callBackTime; IS_Action_CallComplete.click(); } </script> </head>
<body> Callback Time <input id=CallbackTime> (mm/dd/yyyy hh:mm) <input type=button value="Call Back" onclick='OwnAgentCallback(CallbackTime.value)'> </body>