On Oct 13, 5:44 pm, RunningUtes <[email protected]> wrote:
> I'm having some problems using inlineJavascriptPlugin with html
> forms.  How can I utilize the script with the html form? Did I set
> this up right?

You can't put the <script> block inside the <html> block.  Also, to
define a function that persists outside the scope of the script
itself, you need to declare it as a method of the window.  Otherwise
it is only "in scope" for the duration of the inline script itself.

Thus:

<script>
window.processForm=function(params) {
...
}
</script>
<html><form onsubmit="processForm()">
...
</form></html>


enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

----
TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
   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.

Reply via email to