[Seaside] form submit button and both onClick + callback
Petr Fischer
petr.fischer at me.com
Sat Nov 12 04:22:14 UTC 2016
Hello,
I have simple submit button in my form, but I want both onClick (browser side javascript) and callback (server side smalltalk form submit code) to be called.
In the onClick, I want to just simply disable submit button (user can't click twice), like:
onClick: (JSStream on: '$("#submitButton").prop("disabled", "true");
But then (when onClick is defined), callback: is not executed.
Is it a bug? Any trick? Thanks! pf
More information about the seaside
mailing list