るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.081秒)
トップページ > クエリ:String[x] > バージョン:2.4.0[x] > クエリ:h[x] > クエリ:file_field[x]

別のキーワード

  1. _builtin to_h
  2. struct to_h
  3. enumerable to_h
  4. array to_h
  5. ostruct to_h

ライブラリ

モジュール

検索結果

CGI::HtmlExtension#file_field(name = "", size = 20, maxlength = nil) -> String (63970.0)

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

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

@param name name 属性の値を指定します。

@param size size 属性の値を指定します。

@param maxlength maxlength 属性の値を指定します。

例:
file_field("name")
# <INPUT TYPE="file" NAME="name" SIZE="20">

file_field("name", 40)
# <INPUT TYPE="file" NAME="name" SIZE="40">

file_field("na...

CGI::HtmlExtension#file_field(attributes) -> String (63640.0)

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

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

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

例:
file_field({ "NAME" => "name", "SIZE" => 40 })
# <INPUT TYPE="file" NAME="name" SIZE="40">