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

null
    • Nick
    • 3 yrs ago
    • Reported - view

    let txt := 'My Line 1' + "
    " + 'My Line 2';
    alert(txt)

    • Henrik_B
    • 3 yrs ago
    • Reported - view

    Thanks

    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    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

    • Henrik_B
    • 3 yrs ago
    • Reported - view

    Nice.. Thanks Steven !

Content aside

  • 3 yrs agoLast active
  • 4Replies
  • 379Views