Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

James Gibson

Member since Oct 29, 2009

Recent Blog Comments By James Gibson

  • jQuery Comments() Plug-in To Access HTML Comments For DOM Templating

    Posted on Oct 29, 2009 at 2:55 PM

    Hey Ben, I would like to make one recommendation for your jQuery comments script. It is always a good idea to wrap your jQuery plugins in a closure. Simple wrap the code your have above with: (function($) { ... your function here })(jQuery); This will help isolate the code from anything else in... read more »