Reputation: 26109
$('#masterDiv div') gets me all the divs below the masterDiv and divs nested in these divs. How to get only 1-level children?
Upvotes: 2
Views: 74
Reputation: 3758
$("#masterDiv").children("div")
Read the docs for more info.
Upvotes: 5