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];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment