I have a Plain Text multi-line value on my SP2013 list. Text is entered into the box with Line Feed characters.

When I use the jquery command in an attached JS program

var Falerts = $("input[id$='FormAlert']").val();

no LF characters are displayed are in the alert, purely just text.

How can I extract the full text, complete with any CR / LF characters?


2 Answers 2


Persistence is golden.

var FAlerts = $("textarea[Title='FormAlert']").html();

did the trick.



 var FAlerts = document.querySelector("textarea[Title='FormAlert']").innerHTML

for those who want to do it native JS without the hassle of loading jQuery

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.