<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">div</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">id</span>="<span class="nodeValue editable">surveySelect</span>"</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">class</span>="<span class="nodeValue editable">questionDisplay</span>"</span><span class="nodeBracket editable insertBefore">&gt;</span></span><div class="nodeChildBox"><div class="nodeBox containerNodeBox repIgnore"><div class="nodeLabel"><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">select</span><span class="nodeAttr editGroup">&gt;<br>Selects the survey<br></span><span class="nodeBracket editable insertBefore"></span></span></div><div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">select</span>&gt;</span></div></div><div class="nodeBox emptyNodeBox repIgnore"><div class="nodeLabel"><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">br</span><span class="nodeBracket editable insertBefore">/&gt;</span></span></div></div><div class="nodeBox textNodeBox repIgnore"><div class="nodeLabel"><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">button</span><span class="nodeAttr editGroup"></span><span class="nodeBracket editable insertBefore">&gt;<br></span><span class="nodeText editable">View this survey.<br></span>&lt;/<span class="nodeTag">button</span>&gt;</span></div></div><div class="nodeBox containerNodeBox repIgnore open"><div class="nodeLabel"><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">div</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">id</span>="<span class="nodeValue editable">display</span>"</span><span class="nodeBracket editable insertBefore">&gt;<br><br></span></span></div><div class="nodeChildBox"><div class="nodeBox containerNodeBox repIgnore"><div class="nodeLabel"><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">div</span><span class="nodeAttr editGroup"></span><span class="nodeBracket editable insertBefore">&gt;<br>a result<br></span></span></div><div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">div</span>&gt;</span></div></div><div class="nodeBox containerNodeBox repIgnore"><div class="nodeLabel"><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">div</span><span class="nodeAttr editGroup"></span><span class="nodeBracket editable insertBefore">&gt;<br>a result<br></span></span></div><div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">div</span>&gt;</span></div></div><br>...<br><div class="nodeBox containerNodeBox repIgnore"><div class="nodeLabel"><span class="nodeLabelBox repTarget"><br>&lt;<span class="nodeTag">div</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">id</span>="<span class="nodeValue editable">surveySelect</span>"</span><span class="nodeAttr editGroup">&nbsp;<span class="nodeName editable">class</span>="<span class="nodeValue editable">questionDisplay</span>"</span><span class="nodeBracket editable insertBefore">&gt;<br>also contains select and button<br></span></span></div><div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">div</span>&gt;</span></div></div></div><div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">div</span>&gt;</span></div></div></div><div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">div</span>&gt;</span></div><br>I don't think I'm getting any errors from FireBug (I'm not sure what they look like either). The div is there, though, or the results wouldn't been rendered at all. Nothing would happen when you click the button. Somehow, it's getting a copy of the containing div in there with it as well.<br><br>RS<br><br>&gt; Date: Mon, 20 Jul 2009 10:19:35 +0200<br>&gt; Subject: Re: [Seaside] jQuery html replace<br>&gt; From: renggli@gmail.com<br>&gt; To: seaside@lists.squeakfoundation.org<br>&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; <br>&gt; Are you sure the DIV is still there when you perform the action?<br>&gt; jQuery simply ignores actions on queries that do not match anything,<br>&gt; that's sometimes quite confusing.<br>&gt; <br>&gt; If that's not the problem, then FireBug should tell you more in form<br>&gt; of an error message.<br>&gt; <br>&gt; Lukas<br>&gt; <br>&gt; -- <br>&gt; Lukas Renggli<br>&gt; http://www.lukas-renggli.ch<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™ SkyDrive™: Store, access, and share your photos. <a href='http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009' target='_new'>See how.</a></body>
</html>