given below is the picture of the response I get on submitting a form with wrong email.
I want to remove the word message: & curly brackets around the string from this response. I am trying the following:
$('#registerStatus').text(response.replace('message:', ''))
But it doesnt work. Can you please help?