Chapter 17. Dynamic HTML: Drag and Drop, Data Binding, and Behaviors

Dynamic HTML: Drag and Drop, Data Binding, and Behaviors

In this chapter, we’re going to keep working on making our web pages come alive, this time by supporting drag and drop, data binding, and Internet Explorer behaviors.

You can implement drag and drop in two primary ways: implementing visual dragging, and implementing data transfer. Visual dragging involves moving objects around in a web page, and data transfer means dragging and dropping actual data, from text to images, that you can work with in code. Naturally, we’ll see both ways.

Data binding is a big topic in the Internet Explorer, and we’ll take a look at it here. You can store ...

Get Inside JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.