Solved

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

Posted on 2014-09-11
2
1,550 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now