Trouvez des cours en utilisant jQuery
var myVar = $("#start").find('.myClass').val();
Odd Otter
var myVar = $("#start").find('.myClass').val();
$( "li.item-ii" ).find( "li" ).css( "background-color", "red" );
$(".txtClass") => getElementsByClassName()
$("#childDiv2 .txtClass") => getElementById(),
then getElementsByClassName()
$("#childDiv2 > .txtClass") => getElementById(),
then iterate over children and check class
$("input.txtClass") => getElementsByTagName(),
then iterate over results and check class
$("#childDiv2 input.txtClass") => getElementById(),
then getElementsByTagName(),
then iterate over results and check class