If I want to set the text of a to \"Test message here\", do I do:
$(\'\').text(\'Test
It's preferable to use
$("#error").html('Test message here')
instead of simply
.text('Text Msg');