how can i get the value of the loop both text fields and hidden fields in php using jquery
<p>How can I get the values of each input field (both hidden and visible) using jQuery?</p>

<pre><code>&lt;?php 
     $date   = date('m-d-Y');
     $ts     = strtotime($date);
     $year   = date('o', $ts);
     $week   = date('W', $ts);

     for($i = 1; $i &lt;= 7; $i++) {
     ?&gt;&lt;td&gt;&lt;?php
     $ts = strtotime($year.'W'.$week.$i);
     ?&gt;&lt;input type="text" name="days" id="days" /&gt;
      &lt;input type="hidden" name="date_now" id="date_now" value="&lt;?php print date("Y-m-d", $ts); ?&gt;" /&gt;
    &lt;/td&gt;&lt;?php
    } 
?&gt; 
</code></pre>
