[Seaside] Jquery select then hide
Johan Brichau
johan at inceptive.be
Fri May 1 12:11:39 UTC 2015
> On 29 Apr 2015, at 14:23, Hilaire <hilaire at drgeo.eu> wrote:
>
> Le 28/04/2015 09:21, Johan Brichau a écrit :
>> onChange: (html jQuery this value) equals: ‘missis’ asJavascript
>> then: (html jQuery: #maiden) show
>> then: (html jQuery: #maiden) hide)
>
> I understand the intend but not the syntax.
> I can see #then:else: message but no #equals: jquery instance
> But I am curious to learn how to
You’re right. JSObject>>equals: is an extension that is not in the standard Seaside package.
I’ll add it, but in the meantime, here’s the implementation:
JSObject>>equals: anObject
"Combine the receiver and anObject with a logical AND."
self addDecoration: (JSBinary new operator: '=='; statement: anObject)
More information about the seaside
mailing list