[Seaside] Noob jQuery AJAX question

Tony Fleig tony.fleig at gmail.com
Sun Nov 14 19:50:40 UTC 2010


Nice!

TF

On Sun, Nov 14, 2010 at 10:11 AM, Nick Ager <nick.ager at gmail.com> wrote:

> BTW I tend to use symbols for html ids - that way declaring and calling you
> use the same symbol and don't have to remember to add the # to the string
> when querying. Your method would then become:
>
> | val | html div id: #txt; with: ''. html break. html select list: { 1. 2.
> 3. }; selected: 2; "Pass the selection back to the server and save it."
> onChange: ((html jQuery ajax script: [ :s | s << (s jQuery: #txt) text: (val
> - 1) ]) serializeThis); callback: [ :v | val := v ]
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101114/2ec569f9/attachment.htm


More information about the seaside mailing list