var productIds = $(".productId"); var arry = new Array(); arry = productIds; var ary=arry.sort(); for(var i=0;i if(ary[i].value==ary[i 1].value){ alertMsg.confirm("The same medicines were detected, please check!", { }); return; } }
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