Hi Dave
It is really plain vanilla.  I just set some form values.  What is impossible 
is that the very same onclick call placed in the <html:submit/> tag works 
perfectly.  It calls the function, the values are set and inaddition it submits 
the form.  I want to separate that and first call the function then manually 
call the submit for testing and experimentation.  Why I cant get the same call 
to work from the <html:button/> onclick tag is beyond me.  I hope you can help, 
because the semantics says it should be trivial and simply work.

Dave Newton <[EMAIL PROTECTED]> wrote: From: Chris Pat 
> I have a simple  [onclick handler] 
> and it just does not fire the function.


What does the generated HTML look like? What does the JavaScript function look 
like, and have you put an alert(...) in the function to ensure it isn't being 
called? Since you're not returning the function's return value from the 
"onclick" attribute the browser will still do normal button processing in 
addition to calling the function.


Dave




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to