Top "Parent" questions

In an oriented tree, the parent is the previous node before the node of interest.

How to find a parent with a known class in jQuery?

I have a <div> that has many other <div>s within it, each at a different …

javascript jquery html dom parent
jQuery: How to get to a particular child of a parent?

To give a simplified example, I've got the following block repeated on the page lots of times (it's dynamically generated): &…

jquery jquery-selectors parent siblings
How to make child divs always fit inside parent div?

My question is if there is a way, without using JavaScript, to cause child divs to extend to the borders …

html css parent
Changing the child element's CSS when the parent is hovered

First of all, I'm assuming this is too complex for CSS3, but if there's a solution in there somewhere, I'd …

jquery css jquery-selectors parent
How to call a parent method from child class in javascript?

I've spent the last couple of hours trying to find a solution to my problem but it seems to be …

javascript oop methods parent
Select parent element of known element in Selenium

I have a certain element that I can select with Selenium 1. Unfortunately I need to click the parent element to …

select xpath selenium parent
How to delete parent element using jQuery

I have some list item tags in my jsp. Each list item has some elements inside, including a link ("a" …

javascript jquery parent
jQuery: get parent tr for selected radio button

I have the following HTML: <table id="MwDataList" class="data" width="100%" cellspacing="10px"> .... <td class="centerText" style="…

jquery jquery-selectors parent tablerow
How can I return to a parent activity correctly?

I have 2 activities (A and B) in my android application and I use an intent to get from activity A …

android android-intent android-activity parent
How may I reference the script tag that loaded the currently-executing script?

How can I reference the script element that loaded the javascript that is currently running? Here's the situation. I have …

javascript element parent