setData("text/plain", "Text to drag"); In this case, the data value is "Text to drag" and is of the format text/plain. An id attribute to allow the