I have the following link
<a href="@Url.Action("GetContentPage", "Home")" id="getStarted">
<img class="img-responsive " src="img/1.jpg" alt="">
</a>
All I need to do is trigger this link(which will trigger the Controller method).
I tried this $("#getStarted").trigger("click")
but it doesn't work.
How can I trigger this link?