Hi All,
I have textbox as formatted as given in PrintTest.txt file in RAR file.
But when i try to load TextBox Data same to Div tag then it not proper as in textbox not with alignment its not .
Code is Below:
@Html.TextAreaFor(m => m.ReportText, htmlAttributes: new { @class = "ReportText", @id = "txtReport", @wrap = "off", @readonly = "readonly" })
Javascript :
var mydiv = $("#txtReport").val();
document.getElementById("DivIdToPrint").innerText = mydiv;
Please help me


Salman BegRank #284 · 8.8K reputationPosted Jan 24, 2019, 12:11 AM EST
Darshan KshirasagarRank #6,482 · 265 reputationPosted Jan 24, 2019, 12:24 AM EST