156件ヒット
[1-100件を表示]
(0.060秒)
ライブラリ
-
cgi
/ html (132) -
rexml
/ document (24)
クラス
-
REXML
:: Attribute (24)
モジュール
-
CGI
:: HtmlExtension (132)
キーワード
- checkbox (12)
-
checkbox
_ group (12) - hidden (12)
-
password
_ field (12) -
radio
_ group (12) - reset (12)
-
scrolling
_ list (12) - submit (12)
-
text
_ field (12) -
to
_ string (12)
検索結果
先頭5件
-
REXML
:: Attribute # value -> String (21304.0) -
正規化されていない属性値を返します。
正規化されていない属性値を返します。
属性値の正規化については XML の仕様を参考にしてください。 -
REXML
:: Attribute # to _ string -> String (15433.0) -
"name='value'" という形式の文字列を返します。
..."name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}... -
CGI
:: HtmlExtension # text _ field(attributes) -> String (340.0) -
タイプが text である input 要素を生成します。
...タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # popup _ menu(attributes) -> String (338.0) -
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">F......oo</OPTION>
# <OPTION SELECTED VALUE="2">Bar</OPTION>
# <OPTION VALUE="Baz">Baz</OPTION>
# </SELECT>... -
CGI
:: HtmlExtension # radio _ button(attributes) -> String (338.0) -
タイプが radio である input 要素を生成します。
...タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo">... -
CGI
:: HtmlExtension # scrolling _ list(attributes) -> String (338.0) -
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">F......oo</OPTION>
# <OPTION SELECTED VALUE="2">Bar</OPTION>
# <OPTION VALUE="Baz">Baz</OPTION>
# </SELECT>... -
CGI
:: HtmlExtension # password _ field(attributes) -> String (337.0) -
タイプが password である input 要素を生成します。
...タイプが password である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # checkbox(attributes) -> String (335.0) -
タイプが checkbox である input 要素を生成します。
...タイプが checkbox である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
checkbox("name" => "name", "value" => "value", "checked" => true)
# => "<INPUT checked name=\"name\" TYPE=\"checkbox\" value=\"value\">"... -
CGI
:: HtmlExtension # hidden(attributes) -> String (329.0) -
タイプが hidden である input 要素を生成します。
...タイプが hidden である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
hidden({ "NAME" => "name", "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="hidden" NAME="name" VALUE="value" ID="foo">...