Hi, Mark. Glad to see you! This theory is very very difficult for me. The is no easy examples in it. This manual is not for beginners. Long ago in this theme https://groups.google.com/d/msg/TiddlyWiki/bjludozbMqY/ja1YJa9g1k8J you write a very good example for me. I write many simple scripts on it's base (but still don't understand how it works:).
Now I need simple example, But it must work with "<$action-sendmessage $message= " when I click $button. I don't need to render the result in tiddler. I want to see alert of two fields values. суббота, 26 октября 2019 г., 21:26:44 UTC+3 пользователь Mark S. написал: > > I think what you want is a widget, which tends to be harder than a > javascript macro. > > Chris Hunt had a TW on this, but the page has disappeared. Fortunately, > it's still > on the wayback machine: > > https://web.archive.org/web/20190413130519/http://cjhunt.github.io/ > > HTH > > On Saturday, October 26, 2019 at 9:59:42 AM UTC-7, Siniy-Kit wrote: >> >> Hi Tony! I want to understand how to write my own .js widgets and >> plugins. I need a simple example "Hello world" level. >> It can be >> >> <$button> >> <$action-sendmessage $message="tm-alert" >> param1={{!!modified}} param2={{!!title}}/> >> alert M+T >> </$button> >> >> ........ >> alert(param1+" "+param2); >> ........ >> >> So, i want to make button with simple JavaScript alert for two tiddler >> fields. This button will a good example for me and other beginners. >> >> >> >> суббота, 26 октября 2019 г., 13:58:06 UTC+3 пользователь TonyM написал: >>> >>> I can't directly help you on this but the password widget does write to >>> local storage as well as the local storage plugin. >>> >>> Regards >>> Tony >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cbecf5e3-7f7d-4b23-8b7c-1dc3463b4b81%40googlegroups.com.

