returns the option of a radio, a segmented button or a tabbar
id | string|number | the ID of an option |
object | the object with the ID and the value of an option |
var option = $$("radio").getOption("2");
/*
{ "id":"2", "value":"Red" }
*/
Back to top