⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
CGI
/
HtmlExtension
/
View File Name :
popup_menu-i.ri
U:RDoc::AnyMethod[iI"popup_menu:ETI""CGI::HtmlExtension#popup_menu;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+Generate a Select element as a string.;To:RDoc::Markup::BlankLine o; ; [ I"K+name+ is the name of the element. The +values+ are the options that ;TI"Jcan be selected from the Select menu. Each value can be a String or ;TI"Ga one, two, or three-element Array. If a String or a one-element ;TI"MArray, this is both the value of that option and the text displayed for ;TI"Qit. If a three-element Array, the elements are the option value, displayed ;TI"Rtext, and a boolean value specifying whether this option starts as selected. ;TI"QThe two-element version omits either the option value (defaults to the same ;TI"Pas the display text) or the boolean selected specifier (defaults to false).;T@o; ; [I"JThe attributes and options can also be specified as a hash. In this ;TI"Kcase, options are specified as an array of values as described above, ;TI"#with the hash key of "VALUES".;T@o:RDoc::Markup::Verbatim; [!I"-popup_menu("name", "foo", "bar", "baz") ;TI" # <SELECT NAME="name"> ;TI", # <OPTION VALUE="foo">foo</OPTION> ;TI", # <OPTION VALUE="bar">bar</OPTION> ;TI", # <OPTION VALUE="baz">baz</OPTION> ;TI" # </SELECT> ;TI" ;TI"7popup_menu("name", ["foo"], ["bar", true], "baz") ;TI" # <SELECT NAME="name"> ;TI", # <OPTION VALUE="foo">foo</OPTION> ;TI"5 # <OPTION VALUE="bar" SELECTED>bar</OPTION> ;TI", # <OPTION VALUE="baz">baz</OPTION> ;TI" # </SELECT> ;TI" ;TI"Apopup_menu("name", ["1", "Foo"], ["2", "Bar", true], "Baz") ;TI" # <SELECT NAME="name"> ;TI"* # <OPTION VALUE="1">Foo</OPTION> ;TI"3 # <OPTION SELECTED VALUE="2">Bar</OPTION> ;TI", # <OPTION VALUE="Baz">Baz</OPTION> ;TI" # </SELECT> ;TI" ;TI"Cpopup_menu("NAME" => "name", "SIZE" => 2, "MULTIPLE" => true, ;TI"H "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"]) ;TI"0 # <SELECT NAME="name" MULTIPLE SIZE="2"> ;TI"* # <OPTION VALUE="1">Foo</OPTION> ;TI"3 # <OPTION SELECTED VALUE="2">Bar</OPTION> ;TI", # <OPTION VALUE="Baz">Baz</OPTION> ;TI" # </SELECT>;T:@format0: @fileI"lib/cgi/html.rb;T:0@omit_headings_from_table_of_contents_below000[[I"scrolling_list;To;; [ ;@<;0I"(name = "", *values);T@<FI"HtmlExtension;TcRDoc::NormalModule00