AnsweredAssumed Answered

How to create new widget html nodes (objects) that call a function in widget.js when clicked

Question asked by mikewottrichdev on Jul 2, 2015
Latest reply on Jul 2, 2015 by mikewottrichdev

Hello,

 

I am looking for pointers on how to create new html nodes (objects) that call a function in widget.js when clicked. I can add new buttons through javascript and add a click event to a javascript function, but cannot seem to fire a function that is within widget.js  I'm sure this is fairly straight forward, but was hoping to get some help from seasoned programmers on how to do it and best practices.

 

It seems like an html button that is already there when the widget opens can fire use functions in widget.js, but new ones are causing me a problem.

 

Any and all help would be greatly appreciated.

 

thanks,

Mike

Outcomes