JS On Top
Blog about web development mainly focused on client side.
Pages
Home
JS or jQuery Plugins
Wednesday, October 28, 2015
Extracts a word which starts with a given substring
// extracts js_* class
$(
anySelector
).attr('class').match(/\bjs_[^\b]*?\b/)[0];
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)