るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.044秒)
トップページ > バージョン:2.2.0[x] > クエリ:IO[x] > クエリ:attributes[x] > クエリ:attribute[x] > クエリ:submit[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. rexml/document attributes
  2. attributes get_attribute_ns
  3. attributes get_attribute
  4. attributes each_attribute
  5. httprequest attributes

ライブラリ

モジュール

検索結果

CGI::HtmlExtension#submit(attributes) -> String (64036.0)

タイプが submit である input 要素を生成します。

タイプが submit である input 要素を生成します。

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

例:
submit({ "VALUE" => "ok", "NAME" => "button1", "ID" => "foo" })
# <INPUT TYPE="submit" VALUE="ok" NAME="button1" ID="foo">