I need to call a function, that is written in block, but I need to call on every time the page loads.
Problem:
What Issue I am facing now is, I can call a function written in the block, but it was called only once, after refreshing the page or reloading, the same function was not called. Anyone has an idea, if so , please share it.
How do we achieve this via Knockout js or any other method?