?
Ce document utilise Manuel du site Web PHP chinois Libérer
刪除數(shù)組中重復元素。只處理刪除DOM元素數(shù)組,而不能處理字符串或者數(shù)字數(shù)組。在jQuery 3.0以上版本該方法已被棄用,請使用 jQuery.uniqueSort()方法
待處理數(shù)組。
刪除重復 div 標簽。
$.unique(document.getElementsByTagName("div"));
[<div>, <div>, ...]