how to replace $.livequery with $.delegate or $.live
I've used nice livequery plugin for many things, not just for binding events. Now when jquery1.4.2 is out it seems like it is time to replace $.livequery() with new .delegate() or even .live(), but browser events like (ready) does not work. Am I using the incorrect event (with delegate)?
For example I am using livequery:
$('ul.fileList li').livequery(function(){
var oi =$(this);
// DOM manipulation, appending menus and attaching plugins and so on
oi.pacoFileProps({
onPropsSaveOK:function(){
//doing the plugin action
}
});
});
Is it possible to do such kind of manipulation with $.delegate() or $.live()?