alertify.js
alertify.js copied to clipboard
a href tag
Dear Fabien, hope all is well, you answered a question before for a href
``
`$(document).ready(function(){ $('.delete-page').on('click', function(event){ // add me, stop the default link from clicking event.preventDefault();
alertify.confirm("Message", function (e) {
if (e) {
// use window.location and go to a->href
} else {
return false;
}
});
});
});`
what if i have an id thats passed with in href?xxxx?$id? when a user clicks in the table it takes the id so, i guess in this case it wont work?
Thank you so much