Hello, I was reading a book and it says that when we want to add new Node that is not in the Head we have make a selection i.e. selection.addNodAfter(element), before we initiate our method. The question is where do i have to do this "selection"? in my main or how else do i implement it?
Thank you
grisha83
26
Junior Poster in Training
Recommended Answers
Jump to PostHello grisha83,
The question is not clear. Where do you want to add a node?
and which language are you using? ..
i have this strange voices in my head telling me you are 'talking about Javascript'?Regards,
SNIP
Jump to PostWhat? Be more specific and explain your problem fully
Jump to PostOops sorry,
I am using Java. Also, im not sure where i am using it. I was just reading my textbook and the author has noted that i have to select a node after which i want to input new node.Mr. Author says that "Where you want to add …
All 9 Replies
nabeel.alsafa
0
Newbie Poster
grisha83
26
Junior Poster in Training
BestJewSinceJC
700
Posting Maven
kvprajapati
1,826
Posting Genius
Team Colleague
grisha83
26
Junior Poster in Training
BestJewSinceJC
700
Posting Maven
grisha83
26
Junior Poster in Training
grisha83
26
Junior Poster in Training
BestJewSinceJC
700
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.