enni
Member since Mar 19, 2010
- Profile: /members/5684-enni.htm
- Comments: 2
Recent Blog Comments By enni
-
jQuery Attr() Function Doesn't Work With IMAGE.complete
Posted on Mar 19, 2010 at 1:43 AM
sample: ..... var loadWatch = setInterval(function() { if(img.complete) { clearInterval(loadWatch); completeCallback(img); } }, 100); } else ....... read more »
-
jQuery Attr() Function Doesn't Work With IMAGE.complete
Posted on Mar 19, 2010 at 12:50 AM
I just fixed the code. There was a function "watch" inside the function imgLoad. It spammed a lot of errors: Error: missing argument 1 when calling function watch. To fix this: instead of setInterval(watch, 100);, use setInterval(function(){..yak..} , 100); I hope that helps you folks.... read more »