I need to list all data
faults that contain certain code in their name ( not in value ).
HTML tag example with attributes:
<input type="hidden" id="products-end" data-flavor-id-15515-1="abc" data-flavor-pr-15515-1="abc" data-flavor-id-15515-2="abc" data-flavor-pr-15515-2="abc">
When searching for 15515-1
it would bring all data related to their respective information, in this case, the abc
(which I put for testing only).
I'm using jQuery and using attr()
to insert, however, I can switch to data()
if needed.
Could anyone help me?