[Seaside] jQuery html replace

Robert Sirois watchlala at hotmail.com
Mon Jul 20 02:57:52 UTC 2009

I wish there was an easy way to show this, but I'll try to describe it well...

I'm using this statement...

(html jQuery: '#display') html: [:r | r render: (self renderResultsOn: html)].

... in order to render the results of a survey. On the page I have a simple select menu and a button that let's you pick between the available surveys. What is happening is the page is being loaded fine, I can select the survey fine, hit the button, the results display fine, but then the original div with the dropdown and button is also added to the bottom of the #display div (see above). The display div is simply:

html div
    id: 'display'.

I've tried taking the div out of the #with: statement where the select box and button are also in, but that does not seem to help. There are a couple other places I have been using the jQuery replace code, and it appears to be working correctly in those instances.


Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090719/5a829ba6/attachment.htm

More information about the seaside mailing list