るりまサーチ

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

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

ライブラリ

キーワード

検索結果

<< 1 2 3 > >>

CGI::HtmlExtension#text_field(attributes) -> String (9202.0)

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

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

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

text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value">...

CGI::HtmlExtension#textarea(attributes) -> String (9202.0)

textarea 要素を生成します。

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

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

例:
textarea("name", 40, 5)
# = textarea({ "NAME" => "name", "COLS" => 40, "ROWS" => 5 })...

CGI::HtmlExtension#reset(attributes) -> String (6302.0)

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

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

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

reset({ "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="reset" VALUE="reset" ID="foo">...

CGI::HtmlExtension#checkbox(attributes) -> String (6202.0)

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

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

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

例:
checkbox("name" => "name", "value" => "value", "checked" => true)
# => "<INPUT checked name=\"name\" TYPE=\"checkbox\" value=\"value\">"...

CGI::HtmlExtension#checkbox_group(attributes) -> String (6202.0)

タイプが checkbox である input 要素のグループを生成します。

...が checkbox である input 要素のグループを生成します。

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

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

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

checkbox_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })

checkbox_group({ "NAME" => "name",
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })...

絞り込み条件を変える

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

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

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

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

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

CGI::HtmlExtension#hidden(attributes) -> String (6202.0)

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

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

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

例:
hidden({ "NAME" => "name", "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="hidden" NAME="name" VALUE="value" ID="foo">...

CGI::HtmlExtension#image_button(attributes) -> String (6202.0)

タイプが image の input 要素を生成します。

...タイプが image の input 要素を生成します。

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

例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">...

CGI::HtmlExtension#password_field(attributes) -> String (6202.0)

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

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

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

例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">...

CGI::HtmlExtension#popup_menu(attributes) -> String (6202.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>...

絞り込み条件を変える

<< 1 2 3 > >>