Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-09-11
2
Medium Priority
?
2,102 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 83

Accepted Solution

by:
leakim971 earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

916 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