Trouble calling javascript function during app initialization

(edit) - oo, you deleted your question :slight_smile:

Instead of using “this” as your first parameter, put a DIV somewhere on your form with a unique id, for example :

<div id="myformidentifier"></div>

Then use this in the first parameter :

anvil.call($('#myformidentifier'), "click_node", txt);
3 Likes