javascript drag anchor code example
Example 1: js get anchor
window.location.hash
Example 2: js click anchor
// Simulating click after 3 seconds
setTimeout(function(){
document.getElementById('fooLinkID').click();
}, 3 * 1000);
window.location.hash
// Simulating click after 3 seconds
setTimeout(function(){
document.getElementById('fooLinkID').click();
}, 3 * 1000);