> Now if I put that script inside a html form (which collects the users login
> details), the script is processed when the user hits the "button" (<input
> type=button...)... but the return messages are not seen! Why not?
The ability to render the return value from script is a feature of
InlineJavascriptPlugin and is not supported by embedded javascript
handlers invoked from standard HTML.
For your purposes, you might try using: alert('message text here').
This will display a browser-based popup message box with your text and
an OK button.
If you really need to render the output following the form, that is a
bit more tricky. You'll need to create a new containing element at
the end of the form, and then wikify() your message into it, like
this:
<input type="button" value="go" onclick="
var out=this.form.insertBefore(document.createElement('div'));
wikify('message text',out);
">
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
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.