此段代码是对某块元素的移位:上移.下移.对比修改前后的两段代码: 修改前: //点击移位 function move(obj,posi){ var al=$(obj).parent('li').parent('.favoreeEditList').siblings('.favoreeEditList').length+1; var curObj = $(obj).parent('li').parent('.favoreeEditList'); var newObj=curObj.clone(cu
<script type="text/javascript"> window.onload = function () { ]; ]; var aLi = oSub.getElementsByTagName("li"); ; ]; ]; var aLii = Sub.getElementsByTagName("li"); ; oSelect.onclick = function (event) { var style = oSub.s