Fixed for Safari and Chrome users!
December 18 by Victor
If you're familiar with javascript, I use the Image.onload event to perform an AJAX callback to load and retrieve the verification image. In Safari and Chrome, the onload event doesn't fire when you pass an image URI to the src attribute when that image previously has been loaded, so the image is never retrieved.
The fix? Attach an event to the Image.onerror event and load a bogus image. It's a bit of a kludge, but what's important is that it's fixed. =)
The fix? Attach an event to the Image.onerror event and load a bogus image. It's a bit of a kludge, but what's important is that it's fixed. =)
Copyright © 2009 Cat-In-A-Box. All rights reserved.