LoginSignup
1
0

More than 5 years have passed since last update.

onclick selectのリストを全表示する

Last updated at Posted at 2019-03-15

最初のマウスクリックですべての要素を表示する

<select size="1" position="absolute" onclick="size=(size!=1)?n:1;" ...>

設定方法

・位置は 'absolute'に設定されます。
・'n'を入れ替えてください。

参考先

[リンク]
https://stackoverflow.com/questions/570642/height-of-an-html-select-box-dropdown

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0