gpt4 book ai didi

javascript - 下拉菜单的默认值

转载 作者:行者123 更新时间:2023-12-02 15:50:08 25 4
gpt4 key购买 nike

您好如何将下拉菜单设置为默认值第二个列表?

<g:select name="dropmenu" from="${["First", "Second", "Third"]}"
/>

最佳答案

<g:select selected="Second" name="dropmenu" from="${["First", "Second", "Third"]}"
/>

信用: https://stackoverflow.com/users/1583/oded

Set Default Text in a Select (drop-down) box/menu

关于javascript - 下拉菜单的默认值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40470250/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com