When assigning a click
action in jQuery it’s important to communicate that potential to your user. The CSS property cursor
makes this a snap.
Here’s our boring old html element:
<div class="hey">
I'm not boring!
</div>
We add a little CSS:
<style>
.hey { cursor: pointer }
</style>
And suddenly it looks suspiciously like a link. Add a hover
state to complete the disguise.