DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Aniruddha has posted 40 posts at DZone. View Full User Profile

Javascript: Simulate Button Click

08.24.2011
| 3761 views |
  • submit to reddit
        
function simulateButtonClick(){

 document.getElementById('<ButtonId>').click();

}