<script src="alert/jAlert-v3.min.js"></script>
<script src="alert/jAlert-functions.min.js"></script>
<script>
$('.alertdemo').on('click', function(e){
e.preventDefault();
theme = "blue";
$.jAlert({
'title': 'jAlert Demo',
'content': 'This is a simple jAlert that is based at jQuery!',
'theme': theme,
'backgroundColor': 'white',
'btns': [
{'text':'OK', 'theme':theme}
]
});
});
</script>