How do I make jquery click test
test
document.getElementById('mylink').click();
trigger('click') will fire the click event but not the default one.
trigger('click')
$('a').click(function(){ alert('triggered') }) // this will be fired by trigger