Hello. Let's say I have $(document).ready(function() { $('.niceImage, .hiddenText').wrapAll('<div class="wrapper"></ div>'); }); then I want to access newly inserted to the DOM div with class wrapper and do something with it; $(document).ready(function() { $('.niceImage, .hiddenText').wrapAll('<div class="wrapper"></ div>'); $('.wrapper').height = '1000px'; }); and that will not work, because we don't have $('.wrapper') in working copy of DOM.
what should I do, to accomplish the desirable result?