setCapture() 获得鼠标拖动releaseCapture() 鼠标释放

解决方案 »

  1.   

    setCapture Method:
    Sets the mouse capture to the object belonging to the current document.releaseCapture Method:
    Releases mouse capture from an object belonging to the current document. 
      

  2.   

    解释和例子
    http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/setcapture.asphttp://msdn.microsoft.com/workshop/author/dhtml/reference/methods/releasecapture.asphttp://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp