img.load and Firefox

img.load and Firefox

Using jQuery 1.4 I'm having a problem with firefox not firing img.load events. These are for local files on a development box:

  1. $(document).ready(function() {
  2.    $('img').load(function() { _myHandler($(this))});
  3. });

  4. function _myHandler($img) {
  5.    alert('.load fired');  // not happening in FF, only Safari
  6. }
Is there something extra I need to do to guarantee this event is fired? The API mentioned something about checking .complete, but I couldn't find any example code of that. There was also a discussion about img.load behavior that made it to the 1.4 roadmap but I'm not certain if that was implemented or not (see  http://forum.jquery.com/topic/image-load-event-some-progress)