Event JavaScript Tutorial

The CHANGE property is used by any text-related and select-box form elements to indicate a change in the element settings.


    
    Example of Event.CHANGE
    
    
    
    
    
    This triggers an alert box to open
    up informing you that the text in box 1 has been changed.
    


    
    TextBox1:
    
    


    TextBox2: