るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.043秒)
トップページ > バージョン:2.2.0[x] > クエリ:IO[x] > クエリ:attribute[x] > クエリ:radio_group[x]

別のキーワード

  1. attribute new
  2. attribute value
  3. element add_attribute
  4. rexml/document add_attribute
  5. rexml/document attribute

ライブラリ

モジュール

検索結果

CGI::HtmlExtension#radio_group(attributes) -> String (81970.0)

タイプが radio である input 要素のリストを生成します。

タイプが radio である input 要素のリストを生成します。

生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。

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

例:
radio_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })

radio_group({ "NAME" => "name",
"VALUES" => [["foo"], [...