Quantcast
Channel: SCN : All Content - SAP CRM: Interaction Center
Viewing all articles
Browse latest Browse all 1553

Automatic Trigger HTMLB Event onClientClick

$
0
0

Hi Guys,

 

I have a button on WebUI creating as shown in the below code -:

 

  <thtmlb:button id       = "trackid"
                text     = "<%= otr(CRM_IC_CMP_CCS/trackid) %>"
                tooltip  = "<%= otr(CRM_IC_CMP_CCS/trackid) %>"
                onClientClick = "InsertFieldinBTFEditor('<%= _m_page_context->m_page_id %>_btf1', 'default', '<%= gv_html_tracking_text %>');" />

 

When user clicks this button a tracking text is inserted in the email body which is part of configuration. I want to insert this text without clicking of the button.

 

In short I want to click this button & trigger its method at the starting of the view. Because of this onClientClick I am not able to find its corresponding method which is getting triggered. I feel there's some javascript method which gets triggered.

 

 

Thanks,

Amit.


Viewing all articles
Browse latest Browse all 1553

Trending Articles