The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Small jQuery plugin dilemma Reply To: Small jQuery plugin dilemma


Dude, I would say that all IDs need to be unique. What you could do is rename BOTH IDs to a common class. Or… you could create a new unique ID that inherits styling from the old ID via SASS/SCSS.

Both of those are pretty trivial and will let you have the best of both worlds :)