Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Disable link, fire modal problem Re: Disable link, fire modal problem

#103275
TheDoc
Member

If you have a class on the link I’m sure you could do something with JS.

Grab the URL on click, open the modal box, when the modal box gets closed, send the user to the URL.

$('.classname').click(function() {
var url = $(this).attr('href');

// etc.
});