I have a large div inside there which are smaller divs, achor tags and other elements. Each large div in my program is bound to \"mousedown\" event and inside the onMouseDown ha
You should get it through
if(event.target.tagName.toLowerCase() === 'a') { event.target.href; //this is the url where the anchor tag points to. }