Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the New York ColdFusion User Group (Jan. 2008) with: Adam Lehman
Ben Nadel at the New York ColdFusion User Group (Jan. 2008) with: Adam Lehman@adrocknaphobia )

Alex

Member since Nov 20, 2014

Recent Blog Comments By Alex

  • Clearing Inline CSS Properties With jQuery

    Posted on Nov 20, 2014 at 9:29 PM

    This will not work is what you need is to remove (or replace) a custom class. The idea is almost the same, however: var oldClasses = $('#elem').attr('class'); var newClasses = oldClasses.replace('bad-class', ''); $('#elem).attr('class', newClasses);... read more »