javascript event returnValue
| returnValue | NN n/a IE 4 DOM n/a |
|
|
Read/Write |
|
Provides the value to be returned to the event's source element to allow or prohibit the element's default action connected with the event. If you set event.returnValue to false, the element does not carry out its normal operation, such as navigating to a link or submitting the form. This property does not influence an actual value you may wish to return from an event handler function. |
|
| Example | |
evt.returnValue = false; |
|
| Value | |
|
Boolean value: true | false. |
|
| Default | |
|
true |
|
Previous: javascript event screenX, screenY
Next: javascript event repeat
782,Nickname,Homepage or email,Comments here,Add comment
