> But suppose you want to invoke a macro from an inline java script.
> But now you have to invokeMacro(place, "macro", param)
> How do you get the DOM object that would get passed when you

In order to use inline scripts in tiddler content, you need:
   http://www.TiddlyTools.com/#InlineJavascriptPlugin

among the features provided by the plugin is the *automatic*
definition of 'place' and 'tiddler' context variables, which can be
referred to within inline scripts.  "place" is the current DOM element
in which to render macro output, and 'tiddler' is the current TW
tiddler store object associated with the current tiddler.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to