Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

759 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

18 Experts available now in Live!

Get 1:1 Help Now