Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <head> <script type="text/vbscript"> sub mySub() MsgBox("Hello" & chr(13) & "world") end sub </script> </head> <body> <button onclick="mySub()">Click to get a messagebox with line feed.</button> </body> </html>