title: how to find cell & get cell value in html Dynamic table use for jquery or javascript?
body: <p>I have dynamic table. i am try to get cell value use jquery &quot;closest &amp; find&quot; option. but not response it.</p>
  <p>this is html code part.</p>
  <pre><code>&lt;td&gt;
                          &lt;div id=&quot;ctrl-qun-row&lt;?php echo $row; ?&gt;-holder&quot; class=&quot;&quot;&gt;
                              
                              &lt;input id=&quot;ctrl-qun-row&lt;?php echo $row; ?&gt;&quot;  value=&quot;&lt;?php  echo $this-&gt;set_field_value('qun',&quot;&quot;, $row); ?&gt;&quot; type=&quot;number&quot; placeholder=&quot;Enter Qun&quot; step=&quot;0.1&quot;  required=&quot;&quot; name=&quot;row&lt;?php echo $row ?&gt;[qun]&quot;  class=&quot;form-control &quot; /&gt;                        
                                  
                               
                                  
                              &lt;/div&gt;
                              
                              
                          &lt;/td&gt;
  </code></pre>
  <p>i am try to script used  keyup event.</p>
  <pre><code>$('#ctrl-qun').on('keyup', function(){ 
      var rowtoatal   =0;
      var $row        =$(this).closest(&quot;td&quot;);
      var qun2         =parseFloat($row.find('.qun').val());
      
      
      alert($(&quot;#qun2&quot;).val()); //remove after testing
      
      
          
  });
  </code></pre>
  <p>full code <a href="https://pastebin.com/9ZKRNH3b" rel="nofollow noreferrer">https://pastebin.com/9ZKRNH3b</a></p>