Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Beginning JavaScript 5th Edition
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning JavaScript 5th Edition
This is the forum to discuss the Wrox book Beginning JavaScript, 5th Edition by Jeremy McPeak; 978-1-118-90333-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript 5th Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 19th, 2017, 04:02 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch9 ex2 The Node Object: Navigating the DOM

What I don't understand is what we are testing for? What do you mean by Whitespace between nodes?
Here you check to see what the nodeType of the nextSibling of headingElement is. If it returns
3, (nodeType 3 is a text node), you set bodyElement to be the nextSibling of the nextSibling of
headingElement; otherwise, you just set it to be the nextSibling of headingElement.

Last edited by jaycbrf4; December 19th, 2017 at 04:47 PM..
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lesson4 Ex2&3 caa5042 BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 3 July 30th, 2011 04:25 PM
insert object into tree node Xeon-Yk C# 1 November 13th, 2006 12:06 PM
XPath API and DOM Document object nnravi XML 10 May 2nd, 2006 12:24 PM
chapter 2 EX2-2 buddytruck BOOK: Beginning Visual C++ 6 0 August 10th, 2004 09:56 AM
Navigating thru DataGrid Object chiefouko VB Databases Basics 0 July 24th, 2003 04:56 AM

All times are GMT -4. The time now is 10:50 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.