You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to trigger button click in a widget?

Accepted answer
edited Aug 10, 2015 8:29PM in Communication Channels 9 comments


I have a custom ConditionalChatLink widget and I have placed a button in "availableImmediatelyMessage.ejs" as I would like to display this button when agents are available on chat.

I have created a test js file "Additional_JS.js" in the custom widget folder.

In my widget's "view.php", I have linked the JS file (even though I think all JS in widget folder should be linked automatically):

I have added this in view:

<script type="text/javascript" src=""></script&gt

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!