Easier way to get a jQuery object from appended element January 24, 2023 by Tarik Why not just: var el = $('<div class="selectors"></div>'); $container.append(el); ? Then you have access to ‘el’.