form表單提交多個下拉框獲取select選項值,name相同
阿新 • • 發佈:2019-01-04
<tr>
<th>吃飯</th>
<td>
<select name=point id=point>
<option value=5>5分</option>
<option value=4>4分</option>
<option value=3>3分</option>
<option value=2>2分</option>
<option value=1>1分</option>
</select>
</td>
</tr>
<tr>
<th>睡覺</th>
<td>
<select name=point id=point>
<option value=5>5分</option>
<option value=4>4分</option>
<option value=3>3分</option>
<option value=2>2分</option>
<option value=1>1分</option>
</select>
</td>
</tr>
<tr>
<th>打豆豆</th>
<td>
<select name=point id=point>
<option value=5>5分</option>
<option value=4>4分</option>
<option value=3>3分</option>
<option value=2>2分</option>
<option value=1>1分</option>
</select>
</td>
</tr>
<th>吃飯</th>
<td>
<select name=point id=point>
<option value=5>5分</option>
<option value=4>4分</option>
<option value=3>3分</option>
<option value=2>2分</option>
<option value=1>1分</option>
</select>
</td>
</tr>
<tr>
<th>睡覺</th>
<td>
<select name=point id=point>
<option value=5>5分</option>
<option value=4>4分</option>
<option value=3>3分</option>
<option value=2>2分</option>
<option value=1>1分</option>
</select>
</td>
</tr>
<tr>
<th>打豆豆</th>
<td>
<select name=point id=point>
<option value=5>5分</option>
<option value=4>4分</option>
<option value=3>3分</option>
<option value=2>2分</option>
<option value=1>1分</option>
</select>
</td>
</tr>