Yeah, that was my mistake, I was convinced the problem was somewhere
in the Javascript and spent 2 days playing with it, when the problem
was HTML all along.
Thanks for taking a look!
Matt

On May 7, 4:17 pm, "T.J. Crowder" <[email protected]> wrote:

>
> Because a 'submit' button submits the form, which completely refreshes
> the page; a 'button' doesn't do that. Sorry, I completely focussed on
> the Javascript and ignored the HTML. If you wanted to use a submit
> button (for graceful degradation in case Javascript isn't enabled)
> you'd want an onsubmit handler for the form that cancelled the form
> submission.
>
> -- T.J. :-)

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to