How you would use jQuery to implement a div that executes a link when clicked. It’s easy enough to do this in HTML, as shown below, but it seems that a jQuery solution might also be available. I’m not sure, though, how to execute the link to another URL in jQuery.
div#download {
width:200px;
height:75px;
background-image:url(../../images/download.png);
}
a#dwnld {
display:block;
width:100%;
height:100%;
}
<div id="download">
<a id="dwnld" href="../../pay_form.php?pn=10"></a>
</div>
This should work for you.