JSREF

HTML DOM Element contains()

Is "mySPAN" a descendant of "myDIV"?