Re: [jQuery] How to determine number of elements after dom manipulation ?

2009-11-08 Thread Richard Bakker
Does anyone perhaps know ? On 7 nov 2009, at 09:18, Richard Bakker wrote: I am generating elements (img's) based on data from an xml file. Once that is done, I want to determine the number of icons that were generated. i do a: alert($('img').size()) result: 0, which isn't

[jQuery] How to determine number of elements after dom manipulation ?

2009-11-07 Thread Richard Bakker
I am generating elements (img's) based on data from an xml file. Once that is done, I want to determine the number of icons that were generated. i do a: alert($('img').size()) result: 0, which isn't the case how can i determine them after they have generated ? **