るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.107秒)
トップページ > クエリ:l[x] > クエリ:attr[x] > クエリ:popup_menu[x]

別のキーワード

  1. net/imap attr
  2. module attr
  3. _builtin attr
  4. rdoc attr_modifiers
  5. etc sc_thread_attr_stackaddr

ライブラリ

モジュール

検索結果

CGI::HtmlExtension#popup_menu(attributes) -> String (21211.0)

select 要素を生成します。

...select 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
popup_menu
({"NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })
# <SELECT NAME="name" MULTIPLE SIZE="2...
...">
# <OPTION VALUE="1">Foo</OPTION>
# <OPTION SELECTED VALUE="2">Bar</OPTION>
# <OPTION VALUE="Baz">Baz</OPTION>
# </SELECT>...

CGI::HtmlExtension#scrolling_list(attributes) -> String (9211.0)

select 要素を生成します。

...select 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
popup_menu
({"NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })
# <SELECT NAME="name" MULTIPLE SIZE="2...
...">
# <OPTION VALUE="1">Foo</OPTION>
# <OPTION SELECTED VALUE="2">Bar</OPTION>
# <OPTION VALUE="Baz">Baz</OPTION>
# </SELECT>...