0
carriage return in alertbox
i'm need a carriage return en a alertbox?? I can't figure out how to do it..
let txt:="my line 1"
txt :=txt+"my line 2"
alert(txt)
i need a line break so the result is
my line 1
my line 2
- Henrik
4 replies
-
let txt := 'My Line 1' + "
" + 'My Line 2';
alert(txt) -
Thanks
-
Let me tell you a secret. If you use a dialog() function instead of an alert() function, you can use html to display the text within.
Steven
-
Nice.. Thanks Steven !
Content aside
- 3 yrs agoLast active
- 4Replies
- 392Views