Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the New York ColdFusion User Group (May. 2008) with:

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 Data() Method Associates Data With DOM Elements - SWEET ASS SWEET!

    Posted on Oct 26, 2009 at 10:12 AM

    Greg, you would use the function the same as with existing DOM elements. Let's say you have some AJAX filling a given DIV with some raw HTML. In jQuery success function: $("div.container").html(data); To apply data to one of its child elements: $("div.container").find("yourSelector").data("dataNam... read more »

  • jQuery Data() Method Associates Data With DOM Elements - SWEET ASS SWEET!

    Posted on Sep 17, 2009 at 6:40 PM

    I'm working on a project now where the data function of jQuery is proving to be a little buggy in IE (of course). See bug ticket and workaround here: http://dev.jquery.com/ticket/5265... 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 »