There are two elements "a", "b". In my script, I get the element "a", I need to get "b", which is a child.
<style> #a #b { background:blue; } </style> <script> var x = document.getElementById("a"); </script>
Source: https://ru.stackoverflow.com/questions/508663/
All Articles
x.find('#b');
. If b is a child, thenx.children('#b');
- cyadvert