<script> function Go() { document.getElementById('test').onchange() } </script> <input type='text' id='test' onchange='alert(1)' /> <input type='button' value='Go' onclick='Go()' />