Fire an Event : Event « Document « JavaScript DHTML






Fire an Event

 
    
<html>
<body>
<button onmouseover="this.fireEvent('onclick')" 
        onclick="alert('Hello');">
Fire onclick event
</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.Set Capture
2.Release Capture
3.Detach Event
4.Attach an Event to element
5.Add event handler listener to document