Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
那是因为您缺少选项标签的 value 属性。它应该是:
<select name="variableName"> <option value="serverSideValue">DisplayText</option> .... </select>
选项之间的文本仅用于向用户显示。