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
JohnnyC
04/29/2020, 1:23 PM
Have you tried <br/>. While it doesn't explicitly say in the help I believe the message parameter accepts valid HTML
c
cja
04/29/2020, 1:37 PM
Thanks, it works. I should have checked before asking
cja
04/29/2020, 1:37 PM
Ace to know that it supports HTML. I wonder how much HTML...
j
JohnnyC
04/29/2020, 1:54 PM
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.