HTML select shows value instead of text

后端 未结 5 936
花落未央
花落未央 2021-01-11 16:53

Is it possible in a html select, to display the value of the option instead of the text?

It\'s gonna be used for displaying a long disription in the dro

5条回答
  •  太阳男子
    2021-01-11 17:13

    Just don't give a value:

    
    

    Will submit Test when selected.

    Just place the values you put in value as the text.

    You can't have it show the value in value= just like that.

提交回复
热议问题