$('#belongs').combobox({
url: 'opr/book/combobox.do',
valueField: 'id',
textField: 'name',
width : '140',
Height: '29',
editable : false,
panelHeight : 'auto',
onLoadSuccess : function(data) {
var b1 = $('#belongsvalue').val(); //b1 is int type data
$('#belongs').combobox('setValue', b1);
}
});
The above is the entire content of this article, I hope it can be helpful to everyone.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn