In jQuery, is $('li.item-ii').find('li') the same as $('li.item-ii li')?
- by Jian Lin
In the example of jQuery's find()
(the doc is at http://api.jquery.com/find/)
Is
$('li.item-ii').find('li')
the same as
$('li.item-ii li')
essentially, all the <li> elements inside the <li> element that has the class item-ii
Similarly
$('#id1').find(".class1 #id2")
is the same as
$('#id1 .class1 #id2")
?