> <html>
>   <span class="button" onclick="MyFunction()">Click Me</span>
> </html>
> <script>
> function MyFunction()
> {
>   alert("Clicked!");
>
> }

InlineJavascriptPlugin directly supports creation of 'onclick'
handlers without resorting to HTML to create a link that invokes a
separately defined function.  Thus, the equivalent to the above code,
using only inline script, can be more simply written as:

<script label="Click Me">
   alert("Clicked!");
</script>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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