title: How to count the numbers of rows with specific value using jquery or javascript?
body: <p>I have a table including 2 columns one with "Give value" and other column with "Take value". I have to count total Give value and total Take value. For Take value it is easy because it is the total number of records in the table. Now I have to calculate total number of Take value using JavaScript/jquery. How do I do it? For counting total number of records in the table (i.e total Give value) as following</p>
  
  <pre><code>DIM giveOrTotal, assignrows, giveValue, takeValue
      '############ Convert it to an array ##########
      giveOrTotal =  RsO.GetRows
      '####### Get number of rows
      giveValue = ubound(giveOrTotal,2)
  
      Response.Write "&lt;table&gt;"
          Response.Write"&lt;tr&gt;&lt;td&gt;Currently Given: "&amp; giveValue + 1 &amp;"&amp;nbsp Given Value&lt;/td&gt;"
          Response.Write"&lt;tr&gt;&lt;td&gt;Currently Taken: "&amp; takeValue + 1 &amp;"&amp;nbsp Taken Value&lt;/td&gt;"
      Response.Write "&lt;table&gt;"
  </code></pre>
  
  <p>Now i am trying to count the taken value. Can I do it using javascript?</p>