Hi,
I am displaying a container with a bunch of info, and I am using conditionals to make some of them appear if certain bools return true. This causes an issue with my formatting though because instead of going to a new line when the text appears, it actually appears next to the text that was already there. Is there a way to add a </br> on the binding of the text?
Basically the below checks if the variable exists is true, and if so it sets the variable string to "Success </br>" so that it will add a line break after the text "Success".
var
string =
null
;
if
(exists) {
string =
"Success </br>"
}
var
returnStatus = kendo.observable({
status: success
});
kendo.bind($(
"#status"
), returnStatus);