[Seaside] jQuery html replace
watchlala at hotmail.com
Mon Jul 20 14:29:54 UTC 2009
<div id="surveySelect" class="questionDisplay"><select>
Selects the survey
View this survey.
<div id="surveySelect" class="questionDisplay">
also contains select and button
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.
> Date: Mon, 20 Jul 2009 10:19:35 +0200
> Subject: Re: [Seaside] jQuery html replace
> From: renggli at gmail.com
> To: seaside at lists.squeakfoundation.org
> > 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.
> Are you sure the DIV is still there when you perform the action?
> jQuery simply ignores actions on queries that do not match anything,
> that's sometimes quite confusing.
> If that's not the problem, then FireBug should tell you more in form
> of an error message.
> Lukas Renggli
> seaside mailing list
> seaside at lists.squeakfoundation.org
Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside