<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>&gt; Date: Mon, 20 Jul 2009 08:12:05 -0700<br>&gt; Subject: Re: [Seaside] jQuery html replace<br>&gt; From: jfitzell@gmail.com<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; <br>&gt; I may be misunderstanding your problem but shouldn't that be:<br>&gt; <br>&gt; (html jQuery: '#display') html: [:r | self renderResultsOn: r]<br>&gt; <br>&gt; ?<br>&gt; <br>&gt; It looks pretty weird to me that you are trying to render the return<br>&gt; value of a rendering method...<br>&gt; <br>&gt; Julian<br>&gt; <br>&gt; On Sun, Jul 19, 2009 at 7:57 PM, Robert Sirois&lt;watchlala@hotmail.com&gt; wrote:<br>&gt; &gt; I wish there was an easy way to show this, but I'll try to describe it<br>&gt; &gt; well...<br>&gt; &gt;<br>&gt; &gt; I'm using this statement...<br>&gt; &gt;<br>&gt; &gt; (html jQuery: '#display') html: [:r | r render: (self renderResultsOn:<br>&gt; &gt; html)].<br>&gt; &gt;<br>&gt; &gt; ... in order to render the results of a survey. On the page I have a simple<br>&gt; &gt; select menu and a button that let's you pick between the available surveys.<br>&gt; &gt; What is happening is the page is being loaded fine, I can select the survey<br>&gt; &gt; fine, hit the button, the results display fine, but then the original div<br>&gt; &gt; with the dropdown and button is also added to the bottom of the #display div<br>&gt; &gt; (see above). The display div is simply:<br>&gt; &gt;<br>&gt; &gt; html div<br>&gt; &gt; &nbsp;&nbsp;&nbsp; id: 'display'.<br>&gt; &gt;<br>&gt; &gt; I've tried taking the div out of the #with: statement where the select box<br>&gt; &gt; and button are also in, but that does not seem to help. There are a couple<br>&gt; &gt; other places I have been using the jQuery replace code, and it appears to be<br>&gt; &gt; working correctly in those instances.<br>&gt; &gt;<br>&gt; &gt; Thanks,<br>&gt; &gt; RS<br>&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; Windows Live™ SkyDrive™: Store, access, and share your photos. See how.<br>&gt; &gt; _______________________________________________<br>&gt; &gt; seaside mailing list<br>&gt; &gt; seaside@lists.squeakfoundation.org<br>&gt; &gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt; &gt;<br>&gt; &gt;<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; 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>