Closed Bluscream closed 8 years ago
Also
$.jAlert({
'title': username +'\'s Info',
'content': 'Name: '+username+'\n'+'UID: '+id,
'theme': 'blue',
'size': 'md',
'showAnimation': 'fadeInUp',
'hideAnimation': 'fadeOutDown'
});
Does not work.
You can. This is HTML. Just use
<br>
OMG thanks ^^ You should mention that somewhere ^^
Cause https://www.google.de/search?q=jalert+multiline+alerts and https://www.google.de/search?q=jalert+linebreak bring confusing results :)
There's a big difference between a plain javascript alert and my plugin. Javascript alerts using the plain alert() function require \n for new lines because they don't show HTML as-is. My alert is a simple div and whatever content you enter will be rendered as normal HTML is.
So i could even use a <table>
inside of it? :D
Lol yes.
I can't use line breaks in a alert. Thats sad :c