Methods

Properties

Events

Methods

DropDownList

DropDownList
(
  • [options]
)

Provided by the jQuery module.

Defined in src\Controls\Beyondbit.Controls.Select.js:16

Parameters:

nametypeflagdescription
[options] JSON optional

配置信息 see {{#crossLink "Controls.select"}}{{#crossLink}}

Example:

 <html>
    <input type="hidden" id="dropDownlist" />
 </html>

 <script>
     $("#dropDownlist").DropDownList({
          source: [
              { name: "一", value: "1" },
              { name: "二", value: "2" }
         ]
     });
 </script>
Top