// Multi-choice box-Custom-Data-Multiple
Java Development and Exchange Group 677807540 Everyone can discuss the technology together. Welcome to join
$(“.custom-data-multiple”).each(function(row, index) {
// FORM component to clear the review verification style
$(this).combo({
required : false
});
var dataBindTag = $(this).attr(“data-bind-tag”);
$(this).combobox(‘clear’);
// Determine whether the multiple choice box is empty
if (data[dataBindTag] != null && data[dataBindTag] != “”) {
// Determine whether it is multiple choices and multiple choices.
if (data[dataBindTag].indexOf(“,”) > -1) {
$(this).combobox(‘setValues’, data[dataBindTag].split(“,”));
} else {
$(this).combobox(‘setValue’, data[dataBindTag]);
}
}/* else {
$(this).combobox(‘setValue’, data[dataBindTag]);
}*/
});