<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Heh that worked perfectly :p So, 'html' is what is bein passed into that block?<br><br>RS<br><br>> Date: Mon, 20 Jul 2009 08:12:05 -0700<br>> Subject: Re: [Seaside] jQuery html replace<br>> From: jfitzell@gmail.com<br>> To: seaside@lists.squeakfoundation.org<br>> <br>> I may be misunderstanding your problem but shouldn't that be:<br>> <br>> (html jQuery: '#display') html: [:r | self renderResultsOn: r]<br>> <br>> ?<br>> <br>> It looks pretty weird to me that you are trying to render the return<br>> value of a rendering method...<br>> <br>> Julian<br>> <br>> On Sun, Jul 19, 2009 at 7:57 PM, Robert Sirois<watchlala@hotmail.com> wrote:<br>> > I wish there was an easy way to show this, but I'll try to describe it<br>> > well...<br>> ><br>> > I'm using this statement...<br>> ><br>> > (html jQuery: '#display') html: [:r | r render: (self renderResultsOn:<br>> > html)].<br>> ><br>> > ... in order to render the results of a survey. On the page I have a simple<br>> > select menu and a button that let's you pick between the available surveys.<br>> > What is happening is the page is being loaded fine, I can select the survey<br>> > fine, hit the button, the results display fine, but then the original div<br>> > with the dropdown and button is also added to the bottom of the #display div<br>> > (see above). The display div is simply:<br>> ><br>> > html div<br>> > id: 'display'.<br>> ><br>> > I've tried taking the div out of the #with: statement where the select box<br>> > and button are also in, but that does not seem to help. There are a couple<br>> > other places I have been using the jQuery replace code, and it appears to be<br>> > working correctly in those instances.<br>> ><br>> > Thanks,<br>> > RS<br>> ><br>> > ________________________________<br>> > Windows Live™ SkyDrive™: Store, access, and share your photos. See how.<br>> > _______________________________________________<br>> > seaside mailing list<br>> > seaside@lists.squeakfoundation.org<br>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> ><br>> ><br>> _______________________________________________<br>> seaside mailing list<br>> seaside@lists.squeakfoundation.org<br>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br><br /><hr />Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. <a href='http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports' target='_new'>Check it out.</a></body>
</html>