br tag is not working while replace the content from textarea to DIV using JQUERY text function
<p>The br tag is not working on DIV.
I am getting the message from Update Content: <code>textarea</code>field.
The message have the 2 lines like "Rama" next line "Lingam".
But the result is "Rama<br>Lingam" by  <code>$("#editQuotesRowLabel_Q_013").text(replaceContent);</code></p>

<p>How to make a new line in DIV?</p>

<p><strong>Here is my code:</strong></p>

<pre><code>function updateQuotes(){    
    var weg_quotes = $("#weg_quotes_Q_013").val();  
    replaceContent = weg_quotes.replace("\n", "&lt;br&gt;", "g");         
    $("#editQuotesRowLabel_Q_013").text(replaceContent);
}
</code></pre>

<pre class="lang-html prettyprint-override"><code>Update Content: &lt;textarea placeholder="Update your content..." id="weg_quotes_Q_013" name="weg_quotes" cols="80" rows="3" class="appQuotesTextarea" maxlength="200" required=""&gt;&lt;/textarea&gt;
&lt;button onclick="updateQuotes()" id="Q_013" name="update-btn" class="appQuotesBtn"&gt;Update&lt;/button&gt;

&lt;div id="editQuotesRowLabel_Q_013" class="appQuotesLabel"&gt;
    This is content div. 
&lt;/div&gt;
</code></pre>