[Seaside] jQuery html replace

Paul DeBruicker pdebruic at gmail.com
Mon Jul 20 14:40:06 UTC 2009


While I'm no expert, I found this Firebug tutorial helpful:

http://code.google.com/apis/ajaxsearch/articles/firebug.html





On Mon, Jul 20, 2009 at 10:29 AM, Robert Sirois<watchlala at hotmail.com> wrote:
> <div id="surveySelect" class="questionDisplay">
> <select>
> Selects the survey
> </select>
> <br/>
> <button>
> View this survey.
> </button>
> <div id="display">
>
> <div>
> a result
> </div>
> <div>
> a result
> </div>
> ...
>
> <div id="surveySelect" class="questionDisplay">
> also contains select and button
> </div>
> </div>
> </div>
> 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.
>
> RS
>
>> 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
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> ________________________________
> Windows Live™ SkyDrive™: Store, access, and share your photos. See how.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list