Home  >  Article  >  Web Front-end  >  How to use Jquey drag and drop control Draggable (asp.net environment)_jquery

How to use Jquey drag and drop control Draggable (asp.net environment)_jquery

WBOY
WBOYOriginal
2016-05-16 18:19:131478browse

The main purpose of this example is to use Jquey's Draggable control.

When using it, first reference the three Js of Jquery, Jquery-Ui and Draggable. Then write the corresponding code in js. For relevant code instructions, please see the comments in the program.

For instructions on Draggable, please refer to: http://docs.jquery.com/UI/API/1.8/Draggable

Source code:

Copy code The code is as follows:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind=" Default.aspx.cs" Inherits="JqueryDrag._Default" %>









< body>

<%--Draggable reference manual http://docs.jquery.com/UI/API/1.8/Draggable-- %>
<%--Drag range--%>

<%--Record information when dragging starts--%>


<%--Record Information at the end of dragging--%>






<%--The dragged object--%>






File package download
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn