HTMLGuyLLC / jAlert

jQuery alert/modal/lightbox plugin
https://htmlguyllc.github.io/jAlert/
MIT License
76 stars 35 forks source link

btn href not functioning #44

Closed 1nGlen closed 7 years ago

1nGlen commented 7 years ago

I have been unable to create buttons with working links. When the user clicks a button, the jAlert modal simply closes. I am using the btn href property as described in the documentation. Perhaps you could provide an example of a working btn href in Codepen?

HTMLGuyLLC commented 7 years ago

$.jAlert({
'title':'button',
btns: {'text':'Do not close', 'closeAlert':false, 'onClick': function(e){ e.preventDefault(); return false; } }
});