仿站用到DIV随机的排序,然后就写了个jq<script>
$(function () {
$(".j007com div").each(function(){
if(parseInt(Math.random()*2)==0){
$(this).prependTo($
仿站用到DIV随机的排序,然后就写了个jq
<script>
$(function () {
$(".j007com div").each(function(){
if(parseInt(Math.random()*2)==0){
$(this).prependTo($(this).parent());
}
});
});
</script>
如果您觉得本文的内容对您的学习有所帮助:
关键字:
jQuery