Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
jQuery selectable widget
Play lesson

jQuery tutorial for beginners - jQuery selectable widget

5.0 (2)
25 learners

What you'll learn

This course includes

  • 22.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/07/jquery-selectable-widget.html Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help. https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation=1 In this video we will discuss jQuery selectable widget jQuery selectable widget allows us to select elements, individually or in a group using the mouse. Let us understand this with an example. Here is the example code used in the demo HTML <ul id="selectable"> <li>Mon</li> <li>Tue</li> <li>Wed</li> <li>Thu</li> <li>Fri</li> <li>Sat</li> <li>Sun</li> </ul> You selected : <div id="result"></div> CSS li{ display:inline-block; padding:20px; border:1px solid black; cursor:pointer } .ui-selected{ background-color:green; color:white } .ui-selecting{ background-color:grey; color:white } jQuery $(document).ready(function () { $('#selectable').selectable({ stop: function () { var result = ''; $('.ui-selected').each(function () { result += $(this).text() + '<br/>'; }); $('#result').html(result); } }); });

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere