I have the following data attribute object:
<div data-vp="{
id: "vp-485858383",
customTwo: "test"
}">
</div>
I'm trying to target data-vp with the specific id value in jQuery:
$(['data-vp with id:vp-485858383'].parent().find('.fa.fa-times').show();
I'm doing this so I can show only a specific instance of .fa.fa-times rather than all elements with the .fa.fa-times class.
I know the selector above won't work obviously, but is it possible to target both data-vp along with the specific ID?