und*_*ned 26
$.fn.random = function() {
return this.eq(Math.floor(Math.random() * this.length));
}
$(selector).random();
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
6506 次 |
最近记录: |