showing results for - "js select div"
Leonardo
01 Jan 2017
1// Select div with class "theDiv"
2document.queryselector('.theDiv');
3// Select div with ID "theDiv"
4document.queryselector('#theDiv');