easyui select 下拉框的取值和赋值

1.取值

//拍卖管理中示例
function serializeForm(form) {
    var obj = {
        auclotType : $('#auclotType').val(),
        goodsName : $('#goodsName').val(),
        stage : $('#stage').combobox('getValue'),
        isPublished : $('#isPublished').combobox('getValue'),
        status : $('#status').combobox('getValue'),
        startDate : $('#startDate').val(),
        endDate : $('#endDate').val()
    };
    return obj;
}

 

 

 

 2.赋值

$("selectId").combobox('setValue',value);

 

posted @ 2017-01-22 14:24  Mr_伍先生  阅读(29187)  评论(0编辑  收藏  举报