Simulate a click on ‘a’ element using javascript/jquery
I am trying to simulate a click on on an element. HTML for the same is as follows How can i simulate a click on it. I have tried document.getElementById(“gift-close”).click(); But its not doing anything