如何使用 jQuery 获取每个输入字段(隐藏和可见)的值?
<?php
$date = date('m-d-Y');
$ts = strtotime($date);
$year = date('o', $ts);
$week = date('W', $ts);
for($i = 1; $i <= 7; $i++) {
?><td><?php
$ts = strtotime($year.'W'.$week.$i);
?><input type="text" name="days" id="days" />
<input type="hidden" name="date_now" id="date_now" value="<?php print date("Y-m-d", $ts); ?>" />
</td><?php
}
?>