[jQuery] Re: Set src of image in containing div of this div ?

2008-03-26 Thread the_woodsman
> $(this).parent().parent('.display img').attr('src', val); I think with a bit mroe debugging you can crack this - one thing that looks suspect is parent().parent('.display img'), surely nothing's going to have an image as a parent? I would assume you're looking for something more like parent().p

[jQuery] Re: Set src of image in containing div of this div ?

2008-03-26 Thread sweetL
can you post a workable demo somewhere? even if you do a self-contained html file and put it in a pastebin somewhere. On Mar 25, 8:36 pm, elspiko <[EMAIL PROTECTED]> wrote: > Hi, > > I'm fairly new to jQuery so bare with me. I've had a search on the forums, > but if its already been answered i a