You don't say in your post if you mean TW5 or TWC. There were ways to use 
JS in TWC. In TW5, you have to write a plugin or widget. This is supposed 
to make TW5 safer, though I'm sure hackers could write plugins. For the 
rest of us, it just makes TW a little less versatile.

Good luck!
Mark

On Monday, August 17, 2015 at 4:28:56 AM UTC-7, Mike Sutton wrote:
>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85048c71-e151-4cf1-947a-cbe2e9eea855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to