Try:
$('.wrapper').height(1000);

On Apr 1, 2:49 pm, gryzzly <mrejz...@gmail.com> wrote:
> 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?

Reply via email to