Hello world!
I'm currently trying to use Tiddlywiki to store some mail templates for my
non-profit org..
I would like to use javascript to be able to store the name of the local
user in order to put it in a signature at the end of each tiddler.
I tried to declare a variable with the following code (between the <head>
marks):
<script>
var person = prompt("Please enter your name", "");
if (person != null) {
document.getElementById("person").innerHTML =
"person";
}
</script>
the prompt works fine and the variable is declared as I verified in the
source code showed by Google Chrome, so it seems to work.
Now, I just need to know how to declare it in a tiddler.
I Would just like to add the name of the user declared in the variable in
the signature, like this:
Regards,
<<person>>
My non profit organisation.
Anyone knows how I could do it, if it's possible?
Thank you all :) !
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/dcafe088-bc05-460c-9e96-727a66d9f23a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.