jQWidgets jqxListBox dragEnd event Last Updated : 19 Sep, 2021 Comments Improve Suggest changes Like Article Like Report jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxListBox is used to illustrate a jQuery ListBox widget which comprises a list of electable elements. The dragEnd event is activated whenever the user drops an item from the stated listbox. Syntax: $("#jqxListBox").on('dragEnd', function (event) { var args = event.args; var label = args.label; var value = args.value; var originalEvent = args.originalEvent; }); Linked Files: Download jQWidgets from the link. In the HTML file, locate the script files in the downloaded folder. <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="jqwidgets/jqx-all.js"></script> <script type="text/javascript" src="jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="jqwidgets/jqxscrollbar.js"></script> <script type="text/javascript" src="jqwidgets/jqxlistbox.js"></script> Example: The below example illustrates the jqxListBox dragEnd event in jQWidgets. HTML <html> <head> <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="scripts/jquery-1.11.1.min.js"> </script> <script type="text/javascript" src="jqwidgets/jqx-all.js"> </script> <script type="text/javascript" src="jqwidgets/jqxcore.js"> </script> <script type="text/javascript" src="jqwidgets/jqxbuttons.js"> </script> <script type="text/javascript" src="jqwidgets/jqxscrollbar.js"> </script> <script type="text/javascript" src="jqwidgets/jqxlistbox.js"> </script> </head> <body> <center> <h1 style="color: green;"> GeeksforGeeks </h1> <h3> jQWidgets jqxListBox dragEnd event </h3> <div id="jqxLB"></div> <br /> <div id="log"></div> </center> <script type="text/javascript"> $(document).ready(function () { var data = ["CS", "Java", "C++", "CSS", "Scala"]; $("#jqxLB").jqxListBox({ source: data, width: "210px", height: "80px", allowDrag: true, allowDrop: true, }); $("#jqxLB").on("dragEnd", function (event) { $("#log").html( "Dragging the item: " + event.args.value ); }); }); </script> </body> </html> Output: Reference: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxlistbox/jquery-listbox-api.htm Comment More infoAdvertise with us Next Article jQWidgets jqxTabs dragEnd Event N nidhi1352singh Follow Improve Article Tags : Web Technologies JQuery jQuery-jQWidgets jQWidgets-jqxListBox Similar Reads jQWidgets jqxListBox change Event jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxListBox is used to illustrate a jQuery ListBox widget which comprises a list of electable elements. The chan 2 min read jQWidgets jqxListBox dragStart event jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxListBox is used to illustrate a jQuery ListBox widget which comprises a list of electable elements. The drag 2 min read jQWidgets jqxTabs dragEnd Event jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful and optimized framework, platform-independent, and widely supported. The jqxTabs represents a jQuery Tab widget that is used for breaking the content into multiple sections. The 2 min read jQWidgets jqxTree dragEnd Event jQWidgets is a JavaScript framework for making web-based applications for pc and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxTree represents a jQuery widget that is used to display a hierarchical collection of items. To display the c 2 min read jQWidgets jqxDocking dragEnd Event jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxDocking is used for representing a widget to manage multiple windows and also the layout of a web page. Here 2 min read jQWidgets jqxDragDrop dragEnd Event jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxDragDrop is used to represent a jQuery drag and drop widget that is used to make any DOM element draggable. 2 min read Like