$("...").bind("load", OnImageLoaded).attr('src','the_image_uri');

--
Ariel Flesler
http://flesler.blogspot.com/

On Oct 23, 3:52 pm, Jimbo M <[EMAIL PROTECTED]> wrote:
> I can't get this to work for anything.  I'm trying to set up an event
> to fire a trigger when an image is done loading.
>
> Neither of the following snippets end up ever calling the
> OnImageLoaded function.
>
> $("...").load(OnImageLoaded)
> $("...").bind("load", OnImageLoaded)
>
> I've cleared the cache to ensure it's not a caching thing.  Can anyone
> see what I'm missing here?
>
> --- Jim ---

Reply via email to