Easier way to get a jQuery object from appended element
Why not just:
var el = $('<div class="selectors"></div>');$container.append(el);
?
Then you have access to 'el'.
This is my favourite way of doing it:
var $selectors = $('<div class="selectors"></div>').appendTo(container);