I am trying to get error on img load through on, but it doesn't work
$(document).on("error","#someid img",
               function(){
                  console.log("Image load error through On");
              });
but the similar works with 'bind'
$("#someid img").bind("error", function() {
                         console.log("Image load error through bind");
                      });
 
     
     
    