るりまサーチ (Ruby 3.3)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.113秒)

別のキーワード

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

ライブラリ

モジュール

検索結果

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

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

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

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

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