[jQuery] pausing a link and resuming its normal behavior

[jQuery] pausing a link and resuming its normal behavior


If I click a link, I want to trigger a modal, and based on a response
from the modal, I either want to cancel the link click or make the
link be followed. Has anyone done this sort of thing or know how to
accomplish it?