HTML ondblclick event Attribute
Example
<button ondblclick="myFunction()">Click me</button>
Meaning
The ondblclick specifies the script run on a mouse double-click on the element.
Standard Syntax
<element ondblclick="script">
Browser Support
Status
Attribute Values
Value | Description |
---|---|
script | Specifies the script to be run on ondblclick |
Technical Details
Supported HTML elements:
All HTML elements, EXCEPT: <base>, <bdo>, <br>, <head>, <html>, <iframe>, <meta>, <param>, <script>, <style>, and <title>