Skip to main content

Stephen Rushing

Member since Apr 2, 2009

Recent Blog Comments By Stephen Rushing

  • jQuery AJAX Strips Script Tags And Inserts Them After Parent-Most Elements

    Posted on Jun 7, 2012 at 5:00 PM

    I just ran into this as well. I know it's frustrating, but after I thought about it, I am going to assume that whether it's jQuery or the browser doing it, the reason is likely to ensure that any JS in the DOM insertion is executed after its (apparently) relevant/dependent HTML. FYI, I'm in ... read more »

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

    Posted on Apr 2, 2009 at 1:41 PM

    Just came across this post and thought I'd post on it since I've spent some hair-pulling time on similar stuff. The best way to handle an image load with jquery is as follows: $("img.selector").load(function(evt){ $(evt.target).fadeIn(); }); if($("img.selector")[0].complete){ $("img.sele... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel