javascript event repeat
| repeat | NN n/a IE 5(Win) DOM n/a |
| Read/Write | |
|
For an onkeydown event only, returns Boolean true if the key has been down long enough to enter auto-repeat mode. You can prevent auto-repeated keys from being entered into a field with the following example. |
|
| Example | |
function handleKeyDown( ) {
if (evt.repeat) {
evt.returnValue = false;
}
}
|
|
| Value | |
Boolean value: true | false. |
|
| Default | |
false |
|
Previous: javascript event returnValue
781,Nickname,Homepage or email,Comments here,Add comment
