[Seaside] jQuery html replace

Robert Sirois watchlala at hotmail.com
Mon Jul 20 15:11:14 UTC 2009


That is a nice little concise tutorial. I guess I didn't have the console enabled :p

I do get this error:

parent.dap_Resize is not a function    if(typeof(inDapIF) != "undefined"){paren...ap_Resize(document.body.id, 120, 60);}

That seems to be unrelated, though.

RS
  

> Date: Mon, 20 Jul 2009 10:40:06 -0400
> Subject: Re: [Seaside] jQuery html replace
> From: pdebruic at gmail.com
> To: seaside at lists.squeakfoundation.org
> 
> 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
> >
> >
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_________________________________________________________________
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090720/99178d6c/attachment.htm


More information about the seaside mailing list