Content file.txt:
Line 1. Hello world!!
Line 2. Ajax's fantastic.
At index.cshtml. What i want is:
<div id='ViewFile'>
Line 1. Hello world!!
Line 2. Ajax's fantastic.
</div>
In fact, I got:
<div id='ViewFile'>
Line 1.Hello world!!Line 2.Ajax's fantastic.
</div>
Please let me know how to load original file.txt into div-id='ViewFile'
</br>for new line