title: jquery keyup event on text box get id
body: <p>I have build a form in html where dynamically generate some input field with dynamic ids(e.g <code>id_1</code>, <code>id_2</code>, <code>id_3</code> etc). Now I want to create a event when I <code>keyup</code> on each input box.</p>
  
  <p>here is my html file</p>
  
  <pre><code>&lt;div id="addinput"&gt;
      &lt;div id="innneraddinput"&gt;
          &lt;div class="inputDivId"&gt;
              &lt;input class="search" id="searchid" type="text" size="30" name="p_new" value="" placeholder="" /&gt;
          &lt;/div&gt;
          &lt;div class="inputDivId"&gt;
              &lt;input type="text" id="p_new" size="10" name="p_new" value="" placeholder="" /&gt;
          &lt;/div&gt;
          &lt;div class="inputDivId"&gt;
              &lt;input type="text" id="p_new" size="10" name="p_new" value="" placeholder="" /&gt;
          &lt;/div&gt;
          &lt;div class="inputDivId"&gt;
              &lt;input type="text" id="p_new" size="10" name="p_new" value="" placeholder="" /&gt;
          &lt;/div&gt;
          &lt;div class="inputDivId"&gt;
              &lt;input type="text" id="p_new" size="10" name="p_new" value="" placeholder="" /&gt;
          &lt;/div&gt;
          &lt;div class="inputDivId"&gt;
              &lt;input type="text" id="p_new" size="15" name="p_new" value="" placeholder="" /&gt;
          &lt;/div&gt;
          &lt;a href="#" id="addNew"&gt;Add&lt;/a&gt;
  
      &lt;/div&gt;
  &lt;div id="result"&gt;&lt;/div&gt; 
  &lt;/div&gt; 
  </code></pre>