is there a way in jQuery to select elements that have a certain value in a data attribute array?
Consider this snippet of html:
try something like :
$('li[data-city*="New York"]')
Attribute Contains Selector [docs]
jsfiddle example