From my XML I'd like to get the number of chaper nodes that are nested in video nodes. Getting the total number of chaper nodes works with
$(xml).find("chapter").length
What is the syntax to add the video parent node requirement?
From my XML I'd like to get the number of chaper nodes that are nested in video nodes. Getting the total number of chaper nodes works with
$(xml).find("chapter").length
What is the syntax to add the video parent node requirement?