'returnValue' Syntax and Note : returnValue « Javascript Properties « JavaScript Reference

'returnValue' Syntax and Note

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

    

      
      








Related examples in the same category

1.'returnValue' Example
2.'returnValue' is applied to