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

2009-11-08 Thread Qamal Kosim-Satyaputra
where did you exactly call 'alert($('img').size())'? inside the callback function? remember ajax is asynchronous, if you're calling it after calling dataloader() the ajax mat not return yet and your images aren't yet in the DOM. On Mon, Nov 9, 2009 at 4:45 AM, Richard Bakker wrote: > Does anyone

Re: [jQuery] Function to bind itself to some element

2009-11-08 Thread Qamal Kosim-Satyaputra
did you try -> jquery.dataTableHandler(param1, param2+1, param3) instead of -> dataTableHandler(param1, param2+1, param3) ??? you can try initializing the variable firsthand... jquery.dataTableHandler = function() {}; or something... then assign the function, but i doubt thats necessary On Sun,