How to select the first child of the parent element? – First child selector?
To select first child of the parent element first child selector can be used. Example is shown below
$(’#div p:first-child’) – This lets you access the first P tag element present in container with id ‘div’
Log in to answer.
Copyright © dBuggr.com - All Rights Reserved.