Online: 13401
To get all the children element of an parent element, children() method can be used.
<script>
$("div").children().css("background", "red");
</script>
Above code snippet will get all the children element of all the div element of the page and apply css style background color to red.