Hi Martina:

> The thing is lbl wrapper is also used a few other places on the page
> so i want to only access the div lblWrapper that contains the specific
> span above within it.
Are you sure you have the exact same ID on several markup elements? IDs 
can only be used once on a page. Do you possibly mean CLASS instead? The 
same class can be used multiple times.

> When this is true I want to append another element to the bottom of
> the div
Check out that page where I recreated your set-up as I understood it:

http://jsbin.com/uduro

First the SPAN inside the DIV lblWrapper gets selected (so the correct 
parent can later be accessed, this is the test), then I move up a level 
with .parent() and then append a paragraph to the end of the DIV.

I'm a jQuery beginner so this might not be the most elegant or optimised 
approach, but it works.

Hope this helps,

- Thorsten

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to