I'm trying to hide a div with two html data attributes for instance the one below which has html data attributes of Engineer and New York
<div class="row" data-job-type="Engineer" data-job-location="New York"></div>
<div class="row" data-job-type="Lockmsith" data-job-location="Maryland"></div>
<div class="row" data-job-type="Wizard" data-job-location="New York"></div>
Below I tried to pass it in this way but it wouldn't work when I added the second attribute to it.
var bar = "New York";
var foo = "Engineer";
$('.row[data-job-type=' + foo + ']','.row[data-job-location=' + bar + ']').hide();