Skip to main content

Mike Lowry

Member since Sep 22, 2009

Recent Blog Comments By Mike Lowry

  • Ask Ben: Excluding Script Tag Content From The jQuery .text() Method

    Posted on Sep 22, 2009 at 2:49 PM

    Here's another way to do it without having to copy the DOM node into memory. Instead just diff the length of the .hide-empty and script nodes. It requires each .hide-empty node to have an id attribute, and there may be a way around that. $('.hide-empty').each(function(){ var hidableDiv = $(this);... 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