[Seaside] jQuery expressions

Lukas Renggli renggli at gmail.com
Thu Aug 19 20:12:11 UTC 2010


html jQuery new alias: 'el'; closest: 'div.row'; find: 'div.status';
find: 'p'; hide; end; find: 'p.value'; show; asFunction: #('el')

On 19 August 2010 22:06, Boris Popov, DeepCove Labs (SNN)
<boris at deepcovelabs.com> wrote:
> How would I go about expressing the following in Smalltalk,
>
> 'el.closest("div.row").find("div.status").find("p").hide().end().find("p.valid").show()'
>         asFunction: #('el')
>
> I can't seem to figure out a way of instantiating JQueryInstance that would
> print itself as simply el or even $(el)...
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
>
> boris at deepcovelabs.com
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list