' multipleHtml += '
' $(elMu).parent().append(multipleHtml) $('#component_ugfBtiGvdlQE .multiple-select.'+thisId' if' (' +thisId ($('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+'').css('display') == 'none') {$('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+''). 'block') } else { $('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+'').css('display', 'none') } }) $('#component_ugfBtiGvdlQE .multiple-parent.'+thisId+'').on('click', 'li', ֆունկցիա (e) {e.stopPropagation() e.preventDefault() var $label = $(this).children('label') var input = this.getElementsByTag. {input.checked = false } else {input.checked = true} //获取所有选项的值 var բովանդակություն = []; (!$(elem).hasClass('group')) {var ck = $(elem).find('input')[0].checked if (ck) {var html = $(elem).children('label').html(content.push(html)); $('#component_ugfBtiGvdlQE .multiple-select.'+thisId+'').empty(); .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)); $('#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 = []; (!$(elem).hasClass('group')) {var ck = $(elem).find('input')[0].ստուգված է, եթե (ck) {var html = $(elem) . '&');