Pages: 1
Print
Author Topic: OnInsertElementList Functionality  (Read 1851 times)
pooh2583
Member

Posts: 47


« on: March 19, 2013, 01:58:42 AM »

Hello,

I want to run specific code whenever specific element inserted into the document,I am using following code into .ctm file

<OnInsertElementList>

 

   <OnInsertElement>
    <Name>elemName</Name>
    <Lang>JScript</Lang>

    <InsertElemScript><![CDATA[Application.Run("Insert_Elem");]]></InsertElemScript>
    </OnInsertElement>

  </OnInsertElementList>

where Insert_Elem is my macro allredy defined in the project, but this seems to not working when specified element(elemName) is inserted into the Document

even putiing Application.Alert("Inserted"); i.e


<OnInsertElementList>

 

   <OnInsertElement>
    <Name>elemName</Name>
    <Lang>JScript</Lang>

    <InsertElemScript><![CDATA[Application.Alert("Insert_Elem");]]></InsertElemScript>
    </OnInsertElement>

  </OnInsertElementList>

is not working,


Could you please guide me about the above problem?


Regards
Logged
pooh2583
Member

Posts: 47


« Reply #1 on: March 22, 2013, 02:59:39 AM »

Hello,

Please help me solving my above query

Regards
Logged
Pages: 1
Print
Jump to: