- Contents
Interaction Scripter Developer's Guide
IS_Attr_CampaignID
Definition
This read-only attribute contains the id of the currently running campaign. 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.
Usage
Read Yes
Write No
Example
This is an example of a campaign edit field.
<head> <meta name=IS_Attr_CampaignID> <script language="javascript"> window.onload = InitTagValues; function InitTagValues() { tagCampaignName.innerText = IS_Attr_CampaignID.value; } </script> </head>
<body> <p>The ID of this campaign is: <em id="tagCampaignId">[Campaign Id]</em></p> </body>