getValue

returns the current value of the control

string getValue();
stringthe current value of the control

Example

{ view:"tabbar", type:"bottom", value:"one", options:[
                { id:"one", value:"One" },
                { id:"two", value:"Two"},
                { id:"three", value:"Three"}
            ]}
...
$$("tabbar1").getValue(); // returns "one"

Details

The returned value of the control may be:

See also
Back to top