Skip to main content
Ben Nadel at LaunchDarkly Lunch & Learn 2018 (New York, NY) with: Lena Krug and Adam Zimman and Christopher Cosentino and Greg Ratner
Ben Nadel at LaunchDarkly Lunch & Learn 2018 (New York, NY) with: Lena Krug@LenaLovesStuff ) , Adam Zimman@azimman ) , Christopher Cosentino@chriscosentino ) , and Greg Ratner@GregRatner )

Stephen Rushing

Member since Aug 19, 2009

Recent Blog Comments By Stephen Rushing

  • jQuery Attr() Function Doesn't Work With IMAGE.complete

    Posted on Sep 29, 2010 at 9:42 AM

    @Jay, "complete" is not actually an attribute of an IMG element; rather, it's a property of the Image object. It would be more proper to say $("#img_id").get(0).complete or $("#img_id")[0].complete.... read more »

  • jQuery Attr() Function Doesn't Work With IMAGE.complete

    Posted on Aug 21, 2009 at 11:43 AM

    I'm not sure whether IE is worse or not (although I would assume it is ;). Just think of how your processor would try to handle numerous intervals. If you have intervals firing at the same time all over the place, there is going to be some sort of queue for that succession of function calls. Dependi... read more »

  • jQuery Attr() Function Doesn't Work With IMAGE.complete

    Posted on Aug 19, 2009 at 2:55 PM

    window.load() will fire last, since it *tries* to detect when the images, iframes, etc are loaded. document.ready() is fired when the DOM elements are available to access. http://docs.jquery.com/Events/load http://docs.jquery.com/Events/ready Glad y'all like the preloader! I've used a similar a... read more »