Join Joseph Lowery for an in-depth discussion in this video Handling edits, part of Building an Advanced To-Do List with HTML5.
This lesson is a bit of a mixed bag.…We need to add three small functions, to handle three different tasks.…First, we want to make sure that the main input field…works properly if the user should press Enter or Return.…Then, we want to update the value of a list item, that's being edited.…And finally, we want to lay the groundwork for reacting…when an item is dragged to a new location.…So, I thought, who doesn't love a little potpourri every…now and then. Let's get started.…Here's the index.htm file from the chapter three 03_03 folder.…
- Making content editable
- Saving edits
- Setting up the core files for your app
- Removing list items
- Enabling drag-and-drop sorting