摘要:
部分内容摘自脚本之家。//向上向下移动工序option(代码来自网络牛人) $("#GX_up,#GX_down").click(function() { var $opt = $("#GX_list2 option:selected:first");//获取当前选定项的jquery对象 if (!$opt.length) returnfalse; if (this.id == "GX_up") {//若当前元素的id为GX_up $opt.prev().before($opt); ... 阅读全文