Hello Folks,

while prototyping with TurboGears and Mochikit, I've come to the point
that I want to send some form values to the server, without the form
being submitted. I do want it to happen when the user pushes a button
though.

My effort so far was to add <button OnClick="calculate()">Try</button>

This does indeed initiate some asynchronous activity, but it also
submits my form.

Is there a way to do this? Or should I emulate a button with a
span-class combi?


Friendly greetings, Robert-Reinder

--

Reply via email to