Hello, there is a div and there are three more divs in it, I get the parent id and write it to the key2 variable, I can’t refer to the child element in this situation:
var key2 = snap.key; //тут получаю id родительского элемента $('#' + key2 :last-child) // как обратиться к последнему дочернему элементу