jQuery: For each attribute of an input element how do I get that input element's name?
<p>I'm looking at each input element that has an attribute named "isDate".  I want to find that attributes parent input element's name attribute.</p>

<pre>
&lt;input name="A0000" isDate="true" value="01/01/2020" /&gt;
&lt;input name="A0001" isDate="true" value="01/01/2021" /&gt;
&lt;input name="A0002" isDate="true" value="01/01/2022" /&gt;
&lt;input name="A0003" isDate="true" value="01/01/2023" /&gt;
&lt;input name="A0004" isDate="true" value="01/01/2024" /&gt;
&lt;input name="A0005" isDate="true" value="01/01/2025" /&gt;


  $("input[isDate="true"]).each(function(){
     var _this = this;
// do stuff then... 

// get name of input
     var name =  $(_this).parent().attr("name").val(); // this doesn't work
  });


</pre>
