Questions tagged [parent-node]
58 questions
1
vote
1 answer
Climb up parentNode
I am working with a slideshow with the problem that parentNode not get the slides for the NEXT/PREV buttons function if I move the controls from its location.
The working code:
HTML

Alberto Soto
- 51
- 8
1
vote
3 answers
Insert div as the .lastElementChild without 'insertBefore' without jQuery
Okay so I've usually had .box-4 as the last element inside of .s1 as shown below:
and had .box-1 move before .box-4…

KAindex
- 131
- 1
- 10
1
vote
0 answers
Python JSON find parent node based on key
I've got the following function which allows me to search through json and return the value of the key that is searched for.
However, I'm trying to find the actual parentNode of the key being searched for and finding this a bit difficult.
def…

Ke.
- 2,484
- 8
- 40
- 78
1
vote
1 answer
Edit Text button not working
I'm trying to make an edit "button" that, when clicked, will launch a prompt window where you can enter new text that will replace the old text. The issue, I think, is that there is not an "edit button" in the html, it is created when an item is…

Rassisland
- 169
- 1
- 3
- 16
1
vote
1 answer
How to get the name of the parent element in an Oracle XPath expression?
I have a query that extract me some the XML nodes from my clob.
select pid, name, xml from (
select d.pid, d.name
, EXTRACT(xmltype(d.data), '//ns1:myId', 'xmlns:ns1="http://acme.com/') xml
from DATA d
order by d.pid desc
)
;
But I'd like to see…

towi
- 21,587
- 28
- 106
- 187
1
vote
1 answer
How can I change an attribute in a parent node?
This is the XML block:
1
vote
1 answer
How to fetch attribute value of parent node from child nodelist.(XPath)
Here's the requirement
I have a xml document which looks something like this
-
-
+
+
-

Maverick
- 1,396
- 5
- 22
- 42
1
vote
4 answers
Adding dataTable to HTML table with JavaScript: Cannot read property 'parentNode' of null
I am trying to make the table that I am creating on the fly with JavaScript into a .dataTable. I have compared my code to my co-workers and it is almost identical. I have made the necessary changes, but I keep getting the JavaScript error: "Cannot…

webminer07
- 293
- 4
- 8
- 25
1
vote
2 answers
javascript parentnode.id not working the way i expected
Right now I have this code: