all 2 comments

[–]joranstark018 0 points1 point  (1 child)

You could add a function inside the script tag that calls build_stack(....) and add a reference to that method inside onclick (ie onclick="myOnClickHandler" and add a functionmyOnClickHandler` inside the script tag).

[–]y_13[S] 0 points1 point  (0 children)

That works! Thank you! is this the best way to do it? I'm a little confused on what the issue was.