I know this question has been asked before, but after a search on the web I can\'t seem to find a straight forward answer.
the HTML
I had similar issue. try this $('#myAnchor').get(0).click();this works for me
$('#myAnchor').get(0).click();