Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Beginning JavaScript 5th Edition
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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?
Quote:
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..


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





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