[Opa] is there a way to "flush" Dom events?

Owen Gunden ogunden at phauna.org
Mon Jan 23 01:17:45 UTC 2012


Hello! I've attached some test code that presents a tiny form with a
toy response.

I would like the "go" button to grey out right away after it's
clicked. However, my client doesn't render the Dom changes until after
the entire onSubmit handler returns (including the call to busyness()
which takes a while).

Is there some buffering up of Dom events that are to be sent to the
client, and if so, is there a way to flush them? If not, any
suggestions on another way to get immediate feedback to the user when
they've clicked the button?

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.opa
Type: application/octet-stream
Size: 1286 bytes
Desc: not available
URL: <http://lists.owasp.org/pipermail/opa/attachments/20120122/bf58248f/attachment.obj>


More information about the Opa mailing list