Usually you should be able do what you are trying to do. To me it
sounds as if you are trying to select the dynamically created content
before you created it (on $(document).ready for example). How and when
are trying to get the $('img')-selection?

On Feb 23, 8:55 pm, Petar <pta...@gmail.com> wrote:
> I'm creating <img> elements dynamically like this:
>
> $('<img src="images/pic.jpg" alt="").appendTo("#table");
>
> Later on, if I create a wrapped set $('img'), dynamically created
> images are not in it. I guess that's the way jQuery works, but can I
> do something to wrap newly created elements that are not in HTML?

Reply via email to