[Seaside] is there an analogue to JQLoad?
Robert Sirois
watchlala at hotmail.com
Sat Jul 24 00:45:55 UTC 2010
...
onClick: html jQuery ajax script: [:s | s add: ((html jQuery: #foo) append: someObject) ];
...
RS
Date: Fri, 23 Jul 2010 20:22:51 -0400
From: arning at charm.net
To: seaside at lists.squeakfoundation.org
Subject: Re: [Seaside] is there an analogue to JQLoad?
I probably could have explained a bit more. I'm
doing something like:
blah onClick: ((html jQuery: #foo)
load html: [ :h | bar renderOn: h])
and the #renderOn: doesn't happen until blah is clicked. That's
what I want except I don't want to fully replace foo.
I've tried to figure out how to make #append: or #after: work like
that, but they seem to want generate the html right away (and
include all that html in the onClick script) and that's not a
useful solution for me.
Cheers,
Bob
On 7/23/10 7:46 PM, Robert Sirois wrote:
#append: and #prepend: maybe?
RS
Date: Fri, 23 Jul 2010 19:33:06 -0400
From: arning at charm.net
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] is there an analogue to JQLoad?
Something like:
(html jQuery: #foo) load html: [ :h | bar renderOn: h]
will replace the contents of foo with new html. Is there an
analogue that would add html to foo without disturbing what's
already there?
Cheers,
Bob
The New Busy think 9 to 5 is a cute idea. Combine multiple
calendars with Hotmail. Get busy.
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100723/cef084cd/attachment-0001.htm
More information about the seaside
mailing list