title: Get Custom Properties jQuery
body: <p>i want to get the value of custom proprieties using Jquery. i've an array of text input.
  I write this code:</p>
  
  <pre><code>&lt;div id="informazioniAggiuntive"&gt;
   &lt;?php for($i=0;$i&lt;10;$i++){ ?&gt;
    &lt;div &gt;
  &lt;input type=text placeholder="CAP.." id='&lt;?php echo "cap".$i."[]"; ?&gt;'   maxlength=3 size=3 /&gt;
  &lt;input type=text placeholder="Prov.." id='&lt;?php echo "prov".$i."[]"; ?&gt;' maxlength=2 size=2 /&gt;
  &lt;input type=text placeholder="Località.." id='&lt;?php echo "loc".$i."[]"; ?&gt;' class='loc' data-ind='&lt;?php echo $i; ?&gt;' /&gt;
    &lt;/div&gt;
   &lt;?}?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and the JQuery code.</p>
  
  <pre><code>&lt;script&gt;
  $( document ).ready(function() {
      $('.loc').on('keypress',function (e) {
          //Here to get Value
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>As you can see the "loc" class as the "data-" tag.
  Best Regards!</p>