im using jquery with html page.i post a paragraph in rich textbox. i convert to removed
tag. my sample output is below
output is:
A2Z Infra Engineering has secured the contract vide the letter of award from for the construction of the sub-station on turnkey basis (Survey, design, civil work, installation, testing & commissioning).A2Z Infra Engineering has secured the contract vide the letter of award from for the construction of the sub-station on turnkey basis (Survey, design, civil work, installation, testing & commissioning).
i want to Output is:
A2Z Infra Engineering has secured the contract vide the letter of award from for the construction of the sub-station on turnkey basis (Survey, design, civil work, installation, testing & commissioning).
A2Z Infra Engineering has secured the contract vide the letter of award from for the construction of the sub-station on turnkey basis (Survey, design, civil work, installation, testing & commissioning).
i give a record also space under paragraph but output get fully joined. please help
What I have tried:
<script type="text/javascript">
$(document).ready(function () {
debugger
var newsid = GetParameterValues('newsid');
var newsid = getCookie();
//deleteAllCookies();
var url = "http://localhost:24844/NewsRestService.svc/NewsById/" + newsid;
var out = "";
$.getJSON(url, function (data) {
if (data.NewsByIdResult.length > 0) {
out += '
'
+ '
' + data.NewsByIdResult[0].DomexVersion + '
';
}
document.getElementById("newsget").innerHTML = out;
});
});
</script>