JQuery Get Child Div
$(this).children('div').show();
Mingles444
$(this).children('div').show();
$( "li.item-a" )
.closest( "ul" )
.css( "background-color", "red" );
{
'name': $(this).children('input[name="paramName"]').val(),
'value': $(this).children('input[name="paramPrice"]').val()
};
var myVar = $("#start").find('.myClass').val();
const inventory = [
{name: 'apples', quantity: 2},
{name: 'cherries', quantity: 8}
{name: 'bananas', quantity: 0},
{name: 'cherries', quantity: 5}
{name: 'cherries', quantity: 15}
];
const result = inventory.find( ({ name }) => name === 'cherries' );
console.log(result) // { name: 'cherries', quantity: 5 }
$( "li.item-ii" ).find( "li" ).css( "background-color", "red" );