Lines Matching refs:selected
187 options[this.options[i].__idx].selected = this.options[i].selected;
255 node.options[ndx].selected = options[i].selected;
276 options[i].selected = true;
310 node.options[i].selected = false;
311 options[node.options[i].__idx].selected = false;
475 if (node.options[i].selected) {
582 if (options[i].selected && (tmp = self.removeOption (i, false)))
642 ,selected /* :Boolean */ argument
650 ,'selected' : selected property in addOption.options
654 … (update) node.options[node.options.length] = new Option ( text ,value ,defaultSelected ,selected);
684 ,Boolean(li.selected), Boolean(li.defaultSelected)
722 if (options[i].selected && options[i].visible) {
723 … to.addOption (options[i].text, options[i].value, options[i].selected, options[i].defaultSelected);
793 to.addOption (opts[i].text, opts[i].value, opts[i].defaultSelected, opts[i].selected);
847 if (options[i].selected && options[i].visible) {
848 if (i != 0 && !options[i-1].selected && !options[i-1].fixed) {
850 obj.options[i-1].selected = true;
864 if (options[i].selected && options[i].visible) {
865 if (i != oL && !options[i+1].selected && !options[i+1].fixed) {
867 obj.options[i+1].selected = true;
891 node.options[id].selected = true;
892 options[node.options[id].__idx].selected = true;
904 ,selected = false;
906 if (selected || node.options[i].selected) {
907 var tmp = node.options[i].selected;
908 node.options[i].selected = selected;
909 options[node.options[i].__idx].selected = selected;
910 selected = tmp;
913 if (selected) {
916 node.options[0].selected = false;
917 node.options[i].selected = true;
918 options[node.options[0].__idx].selected = false;
919 options[node.options[i].__idx].selected = true;
923 node.options[0].selected = true;
924 options[node.options[0].__idx].selected = true;
937 ,selected = false;
939 if (selected || node.options[i].selected) {
940 var tmp = node.options[i].selected;
941 node.options[i].selected = selected;
942 options[node.options[i].__idx].selected = selected;
943 selected = tmp;
946 if (selected) {
949 options[node.options[oL-1].__idx].selected = false;
950 options[node.options[i].__idx].selected = true;
951 node.options[oL-1].selected = false;
952 node.options[i].selected = true;
956 node.options[oL-1].selected = true;
957 options[node.options[oL-1].__idx].selected = true;