Forums

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

Home Forums JavaScript Jquery Selecting ID's Reply To: Jquery Selecting ID's

#183785
__
Participant

Nope. The id is the entire string.

If you need class names for another purpose, you can use those. Otherwise, data-* attributes are most appropriate for what you’re doing.

http://codepen.io/adrian-enspired/pen/akjhm