ondblclick Event Definition and Usage The ondblclick event occurs when an object gets double-clicked.