0086-13623210128        sale@ssnetting.com
years focus on the Zoo Mesh products for Animal Protection Fence work.
Largest and Earliest leading suppliers for Zoos, Wildlife parks, Parks, etc.
' multipleHtml += '
    ' $(elMu).find("option").each(function (index,el) { multipleHtml += '
  • ' multipleHtml += '' multipleHtml += '
  • ' }) multipleHtml += '
' $(elMu).parent().append(multipleHtml) $("#component_WLUKAgihunqB .multiple-select."+thisId+" ").on("click",function () { if ($("#component_WLUKAgihunqB .multiple-parent."+thisId+"").css("display") == "none") { $("#component_WLUKAgihunqB .multiple-parent."+thisId+"").css("display", "block") } else { $("#component_WLUKAgihunqB .multiple-parent."+thisId+"").css("display", "none") } }) $("#component_WLUKAgihunqB .multiple-parent."+thisId+"").on("click", "li", function (e) { e.stopPropagation() e.preventDefault() var $label = $(this).children("label") var input = this.getElementsByTagName("input")[0] if (input.checked) { input.checked = false } else { input.checked = true } //获取所有选项的值 var contents = []; $("#component_WLUKAgihunqB .multiple-parent."+thisId+" li").each(function (index, elem) { if (!$(elem).hasClass("group")) { var ck = $(elem).find("input")[0].checked if (ck) { var html = $(elem).children("label").html(); contents.push(html); } } }) if (contents.length > 0) { $("#component_WLUKAgihunqB .multiple-select."+thisId+"").empty(); for (var i = 0; i "+contents[i]+"×" $("#component_WLUKAgihunqB .multiple-select."+thisId+"").append(span) } } else { $("#component_WLUKAgihunqB .multiple-select."+thisId+"").empty(); var span = ""+"Please select"+"" $("#component_WLUKAgihunqB .multiple-select."+thisId+"").append(span) } $(elMu).val(contents) }); $("#component_WLUKAgihunqB .multiple-select."+thisId+"").on("click", ".select-delete", function (e) { e.stopPropagation() var value = $(this).parent().children(".select-value").html(); $("#component_WLUKAgihunqB .multiple-parent."+thisId+" ul li").each(function (index, elem) { if ($(elem).children("label").html() == value) { elem.getElementsByTagName("input")[0].checked = false; } }) $(this).parent().remove(); var len = $("#component_WLUKAgihunqB .multiple-select."+thisId+"").children().length; if (len == 0) { var span = ""+"Please select"+"" $("#component_WLUKAgihunqB .multiple-select."+thisId+"").append(span) } var contents = []; $("#component_WLUKAgihunqB .multiple-parent."+thisId+" li").each(function (index, elem) { if (!$(elem).hasClass("group")) { var ck = $(elem).find("input")[0].checked if (ck) { var html = $(elem).children("label").html(); contents.push(html); } } }) $(elMu).val(contents) }) }) }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(window, $);
zoo mesh