Solved

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
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 …
Suggested Courses

635 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