Edit This Code:
See Result »
This example uses the HTML DOM to assign an "ondblclick" event to a p element.
Double-click me.
Result: