>  Generally the javascript pulls in data from the input element and pushes
the results to a different output element.

The native "TiddlyWiki way" to handle this would be to use data binding:
for the JavaScript to pull the data from a tiddler, and have that tiddler
bound to an edit control via the edit-text widget. The output would be
written to another tiddler, bound to the output element.

> Although it is an approach that hadn't occurred to me, unfortunately it
doesn't seem to work in TW5. I can't tell you why it doesn't.

whatever's example doesn't work because TW5 doesn't support inline
JavaScript within HTML elements in wikitext. It would be a security risk in
some situations as it would mean that any wikitext tiddler might
potentially contain executable JavaScript, which may be malicious.

TiddlyWiki works very differently than traditional jQuery-style DOM
development. I'd recommend the tiddlywiki.com/dev documentation as a good
place to start (particularly the material from cjhunt).

Best wishes

Jeremy.



On Thu, Jan 8, 2015 at 3:54 PM, Danielo Rodríguez <rdani...@gmail.com>
wrote:

>
> Hello Stephen,
>
> My keyboard snippets plugin uses a similar approach. Maybe you can base
> your work on it to make your own version, or you can extend the plugin
> itself.
>
> Regards.
>
>
> El domingo, 4 de enero de 2015 20:42:25 UTC+1, Stephen Kimmel escribió:
>
>> This works in TWC.
>>
>>
>> Although it is an approach that hadn't occurred to me, unfortunately it
>> doesn't seem to work in TW5. I can't tell you why it doesn't.
>>
>> Thanks for the suggestion, though.
>>
>  --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to