[Seaside] Re: Jquery select then hide
arning315 at comcast.net
Mon Apr 27 10:24:53 UTC 2015
no. if you put halts in the places shown below
s1 := html jQuery ajax
serialize: html jQuery this;
script: [ :s |
choiceMade = 'miss'
ifTrue: [s << (s jQuery: #maiden) show]
ifFalse: [s << (s jQuery: #maiden) hide]
list: #('mr' 'ms' 'miss');
callback: [ :value |
choiceMade := value.
you'll see that the callback: happens before the script: because
WACallbackRegistry has sorted the callbacks by priority before running them.
On 4/27/15 4:50 AM, Hilaire wrote:
> do I have the risk the script is fired before the serialize is terminated?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside