我有一个select元素,我想在选项元素中设置数字为1到31(day)的内容。那我该怎么做呢?
这样地:
<select> <option>1</option> <option>2</option> ... <option>31</option> </select>