document.getElementById('one').addEventListener('click', function(){ var two = document.getElementById('two'); two.checked = ! two.checked; two.dispatchEvent('change'); });