When operating select, please pay attention to the following: first delete the externally applied layer before regular operation, and finally add $(".chzn-select" ).chosen();
var selectObj = $(" #slectplat"); selectObj.parent().children().remove('div'); selectObj.removeClass(); $("#slectplat").val(_plat); selectObj.addClass("chzn-select"); selectObj.chosen();
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