I am getting an error because of the single quotes that are within the double quotes, and everything is within the single quotes of the $content variable. How can this be solved please?
$content = '
setTimeout("finishAjax('usernameResult', '"+escape(response)+"')", 400);
';