What I'm looking to be able to do is for the user to enter some text in a text box in a tiddler, press a button and have a piece of JavaScript run using the contents of the text box as input. Having the output of the JavaScript function injected into the page somehow is a bonus, but if not then a simple alert box or console.log would suffice.
I've been looking into macros, but have yet to find any that use this sort of dynamic input/output.
This is pretty simple to accomplish in vanilla web development, but I'm trying to write it the Tiddly way, any pointers?
Thanks,
Mike