天天看点

easyui combobox 取值

easyui combobox 取值

学习了:http://blog.csdn.net/world_the_begin/article/details/48782405

    //赋值(多选下拉框选中)           

            $('#tvtype').combobox('setvalues',值.split(','));  

            //取值(多选下拉框选中)

           $("#originalcountry").combobox('getvalues');

            //取值(单选下拉框选中)

            //valuefield和textfield同一属性值。$('#programtype').combobox('getvalue')获取的值为textfield值。

          //  默认选中(单选下拉框)

          $('#uptype').combobox('select',‘值’);

继续阅读