Note: Read and write property. It sets the return value of the event (if false, the action is canceled). For the window object, it specifies the value of a modal dialog window. Syntax: window.event.returnValue = value window.returnValue = value