Results 1 to 7 of 7
  1.    #1  
    Is there a way to add a line break to an alert dialog? I tried " + '\n' + " and it does not display anything in place. Any help appreciated
  2. moserjj's Avatar
    Posts
    468 Posts
    Global Posts
    470 Global Posts
    #2  
    have you tried html - <br> ?
  3.    #3  
    yes, it displays the html <br>
  4.    #4  
    no line break, anyone?
  5. #5  
    try \r and \r\n. Dunno if it'll work but it's worth a shot...
  6. #6  
    The only way I've been able to get line breaks is by including "allowHTMLMessage:true" and using "<br>"

    See APIs - Mojo.Controller - Palm Developer center
    If you've liked my software, please consider to towards future development.

    Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

    @JayCanuck @CanuckCoding Facebook
  7.    #7  
    Quote Originally Posted by Jason Robitaille View Post
    The only way I've been able to get line breaks is by including "allowHTMLMessage:true" and using "<br>"

    See APIs - Mojo.Controller - Palm Developer center
    Nice, Thanks!

Posting Permissions