I'm trying to customize a TW with the FormTiddlerPlugin. I thought I had one of my major goals accomplished: being able to call Javascript code attached to HTML buttons defined in the formTemplate.
However, my joy was soon curtailed. I thought that I could access the details of the tiddler the button appeared on through the variable "tiddler", and thus write along the lines of "onClick='alert(tiddler.title)'". When I tried it and tested it, however, I soon discovered that "tiddler" might mean the tiddler the button appeared on, or might mean another open tiddler. How can I get to THAT tiddler's data, specifically? I realize that if I wrote all the buttons I want to employ as TiddlyWiki macros that generate TiddlyButtons, the tiddler the macro was called from would be passed right to the handler function. But A) I'd rather use HTML buttons while I'm in an HTML form, B) I want to apply this to other form inputs besides buttons, and C) I simply CANNOT find the documentation that I know used to be out there for how to write a plugin that produces a TiddlyButton. Can anyone help? -- 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.