Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
This example uses the HTML DOM to assign an "ondblclick" event to a p element.
Double-click me.