How can I insert a new line in dialog.alert messag...
# suitescript
c
How can I insert a new line in dialog.alert message? \n doesn't work Googling is hard because "new line" means something else in NS world. Searching for "line break" doesn't find anything.
j
Have you tried <br/>. While it doesn't explicitly say in the help I believe the message parameter accepts valid HTML
c
Thanks, it works. I should have checked before asking
Ace to know that it supports HTML. I wonder how much HTML...
j
As long as it's valid HTML5 will probably work but technically falls in DOM manipulation which NetSuite doesn't recommend or support so I wouldn't get to carried away.
👍🏻 2
189 Views