Introducing the selectable widget
The first thing we should do is invoke the default implementation to get a glimpse of the basic functionality provided by this component.
In a new file in your text editor, add the following code:
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Selectable</title> <link rel="stylesheet" href="development-bundle/themes/redmond/jquery.ui.all.css"> <script src="js/jquery-2.0.3.js"></script> <script src="development-bundle/ui/jquery.ui.core.js"></script> <script src="development-bundle/ui/jquery.ui.widget.js"></script> <script src="development-bundle/ui/jquery.ui.mouse.js"></script> <script src="development-bundle/ui/jquery.ui.selectable.js"></script> <script> $(document).ready(function($){ $("#selectables").selectable(); }); </script> </head> <body> <ul...