help escape sequences

I have added a attribute (errormsg) to a input field ie and when validating the form I check the form element errormsg attribute and display the text in an alert, the only problem I have is when I use an escape characters in the message it displays the characters rather than actually inserting the escape character ie( "msg
new line").

Thank you for your time and help.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!