I want to have a functionality that If I mouseover and click anywhere within a specific div that it will invoke a specific controller action as if it were a link
I realize there needs to be some javascript / jquery magic in order to accomplish this but I don’t even know where to begin..
Thanks
If you don’t care about making an asynchronous request, you can just set
window.locationto the location of your controller action:If you need to update the page without redirecting the user, you should make an AJAX request: