Thursday, October 10, 2013

Solved - mouseover not working on dynamically generated ul li

$(".CLASS_NAME").on("mouseover", "li", function() {
   alert('now the mouseover will work');
});
 
NOTE : replace CLASS_NAME with your selector. 
 
Read the DOCS! http://api.jquery.com/on/