Solved

Alertify.js dont show text with break lines (\n) in message.

Posted on 2014-09-11
2
1,756 Views
Last Modified: 2014-09-11
Hi Experts,

I using Alertify.js in my app to show messages and alerts.
The problem is when I try to give the message a break line (\n), the message shows normal, without the break line.

I wonder if you could help me to show a message with break lines in the alertify.

If it helps I have my app in this link: Symbiont Technologies

To get to the page with the alert follow this instructions:
1. Sign In
1.-SignIn.jpg2. Click on the 3 picture of the first column (the blue image that has a shirt with a blue smiley)
2.-SelectApprovalStatus.jpg3. Select a row of the grid
3.-SelectApprovalStatus.jpg4. Erase the name of the selected row
4.-EraseTheName.jpg5. Click on the modify button
5.-ClickModify.jpg6. Alertify message without break lines.
6.-MessageWithBreakLines.jpg
Thanks in Advance.

Best Regards,
Rodrigo Rivera
0
Comment
Question by:Conrado ZAVALA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40318216
as it's HTML use <br /> instead CR (I mean : \n )
0
 

Author Closing Comment

by:Conrado ZAVALA
ID: 40318241
Thanks.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
GitHub 1 38
isNaN issue on the Table input text 2 41
JavaScript character count without counting spaces in Textarea (Code provided) 3 53
Check for Numeric Phone Field 14 47
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question