<div class="codetitle"> <span><a style="CURSOR: pointer" data="83376" class="copybut" id="copybut83376" onclick="doCopy('code83376')"><u>复制代码</u></a></span>代码如下:</div> <div class="codebody" id="code83376"> <br><html> <br> <br><title>こんにちは</title> <br><meta http-equiv="content-type" content="text/html;charset=utf-8"> <br><link rel="Stylesheet" type="text/css" href="http:10.19.1.55/lib/extjs/resources/css/ext-all.css" /> <br><script type="text/javascript" src="http:10.19.1.55/lib/extjs/bootstrap.js"></script> <br><script type="text/javascript" src="http:10.19.1.55/lib/extjs/locale/ext-lang-zh_CN.js"></script> <br><style type="text/css"> <br></style> <br><script type="text/javascript"> <br>Ext.onReady(function(){ <br>varrags=document.getElementsByTagName('li'); <br>for(var i=0;i<drags.length>{ <br>Ext.dd.Registry.register(drags[i]); <br>} <br>new Ext.dd.DragZone('today'); <br>new Ext.dd.DragZone('tmrw'); 🎜><br>関数ドロップ(dropNodeData,source,event,dragNodeData) <br>{ <br>varragged=source.dragData.ddel; <br>var sourceContainer=source.el.dom; this.getEl(); <br>sourceContainer.removeChild(ドラッグ); <br><br>return true; ; <br>new Ext.dd.DropZone('today',cfg); <br>new Ext.dd.DropZone('tmrw',cfg) <br></script> <br></head> <br> <br><h1>今日</h1> <br><ul id="今日"> <br><li>ショッピング</li> <br><li>ヘアカット</li> <br> <br><h1>明日</h1> <br><ul id="tmrw"> <br><li>123</li> <br><li>456</li> <br> <br></body> <br></html> <br><br></drags.length> </div>