Skip to content

Gets unique class names from a group of jquery objects using regular expression with a given prefix

Notifications You must be signed in to change notification settings

ck-tan/get-unique-classes-with-prefix-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-unique-classes-with-prefix-js

  • A function that accepts a group of objects and a prefix, finds the class names with a regular expression of that prefix, then outputs an array of the unique class names
  • This function has a very niche usage but the concept may be used in some other ways to find unique items in a group
  • Uses jQuery and regular expressions

Instructions

Open index.html in a web browser to test.

About

Gets unique class names from a group of jquery objects using regular expression with a given prefix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published