It DID work, it crashed because I was calling some image rotate plugin, which obviously don't work in IE6 - everything is OK with FF.
Tnx. On 23 velj, 21:09, Frederik Ring <frederik.r...@gmail.com> wrote: > By the way (although I do not think it causes the problem) you are > missing a ">'" there. > > Should be: > $('<img src="images/pic.jpg" alt="">').appendTo("#table"); > instead. > > On Feb 23, 9:07 pm, Frederik Ring <frederik.r...@gmail.com> wrote: > > > 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?