Home Coding JavaScript get child Element Coding JavaScript get child Element By praison - May 26, 2018 386 0 Facebook Twitter Google+ Pinterest WhatsApp Getting inner Div var mainDiv = document.getElementById('mainDiv'), childDiv = mainDiv.getElementsByTagName('div')[0], requiredDiv = childDiv.getElementsByTagName('div')[1]; RELATED ARTICLESMORE FROM AUTHOR Don’t use template_redirect always Custom Fields in bbPress Topic Form LEAVE A REPLY Cancel reply Please enter your comment! Please enter your name here You have entered an incorrect email address! Please enter your email address here Save my name, email, and website in this browser for the next time I comment.