i have the need to add a click event to a list item i create dynamically after the DOM has loaded.
I'm using ;
$("#ListDiv li").live("click",function(event){
do something......
});
however when the element is loaded on the page and i click it i get nothing.
This works fine in Firefox but not in IE8. I also tried jquery livequery and deleagte but neither worked. I tried debugging with IE8 developer tools but the method is never reached