Let's say I want to call my plain javascript function on one of my data-binding. Is it possible to do so? I have tried:-
<span data-bind = "click : outsideFn() ">hi</span>
<span data-bind=" click : function() { outsideFn() } ">hi</span?
Obviously, my attempt was unsuccessful.
Edit:- Adding jsfiddle on the tag as this seems to be an issue with jsfiddle.