In this particular case event delegation might serve you better. Live Query really only works if you are using jQuery methods to modify/manipulate the DOM. The iui code does not use jQuery and that is why Live Query can't see those particular updates. -- Brandon Aaron
On Fri, Sep 26, 2008 at 12:25 PM, pere roca <[EMAIL PROTECTED]> wrote: > > > hi, > I usually don't work with iui (iphone) but have some code and wanna adapt > it > to play with jquery. > The problem is to attache events to the new generated DOM at each ajax > request in iui (using jquery AJAX I would make a callback, but...). > Finally > discovered livequery but seems not to work this very very simple code in > http://edit.csic.es/fitxers/gbifs/index.html : > > var example=function() {alert("clickiiin")}; > $('li') > .livequery('click',example); > //each newly generated li should alert when clicking > > some help? thanks > > Pere Roca > visita l'EDIT mapViewer! http://edit.csic.es/edit_geo/prototype/edit.html > > > > > -- > View this message in context: > http://www.nabble.com/livequery-and-iui-tp19692949s27240p19692949.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > >