how to access outside selector in this example
<p>I have the following markup:</p>

<pre><code>&lt;div class='header-vals' data-item-id='23'&gt;
  &lt;input type='text' name='some-input' /&gt;
  &lt;input type='text' name='some-other-input' /&gt;
&lt;/div&gt;
</code></pre>

<p>and would like ot access the data-item-id with something like this (but this doesn't work):</p>

<pre><code>$('.header-vals').on('keyup','input',function(){
  var item_id=$(this).data('item-id');
});
</code></pre>

<p>Is there a way to make the reference of this to the outside so that I can get the data-item-id?</p>

<p>thx in advance</p>
