' multipleHtml += ' را انتخاب کنید
' $(elMu).parent().append(multipleHtml) $('#component_ugfBtiGvdlQE .multiple-select. ($('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+'').css('display') == 'none') { $('#component_ugfBtiGvdlQE .multiple-parent.'+s'''). 'block') } else { $('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+'').css('display', 'none') } }) $('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+'').on('click', 'li', function (e) { e.stopPropagation() e.preventDefault() var $label = $(this).children('label') var input = this.getElementsByTag. { input.checked = false } else { input.checked = true } //获取所有选项的值 var محتویات = []; (!$(elem)). $('#component_ugfBtiGvdlQE .multiple-select.'+thisId+'').empty( for (var i = 0; i < contents.length; i++) { var span = ' '+contents[i]+' × ' ent( )Q. .multiple-select.'
+ thisId+ '').append(span) } } else { $('#component_ugfBtiGvdlQE .multiple-select.'+thisId+'').empty(); var span = ' '+
'لطفا انتخاب کنید' $('#component_ugfBtiGvdlQE .multiple-select.'+thisId+'').append(span) } contents = contents.map(function(item) { return item.replace(/&/g, '&'); }) $(elMu).val(tents); $('#component_ugfBtiGvdlQE .multiple-select.'+thisId+'').on('click', '.select-delete', function (e) { e.stopPropagation() var value = $(this).parent().children('.select-value); $('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+' ul li').each(function (index, elem) { if ($(elem).children('label').html() == value) {
elem.getElementsByTagName }) $(this).parent().remove(); $('#component_ugfBtiGvdlQE .multiple-select.'+thisId+'').append(span) } var contents = []; $('#component_ugfBtiGvdlQE .multiple-parent. (!$(elem)). '&');