<!DOCTYPE html>
<html>
<head>
<script>
function input(){
var sResult = '[{"urlName":"ChiroTouch-Accounting-Maintenance","summary":"The maintenance section of the Accounting ribbon allows you to configure site information, providers, payment sources, payers, and trading partners.","label":"ChiroTouch Accounting Maintenance","id":"kA163000000CaXFCA0"},{"urlName":"ChiroTouch-Accounting-Maintenance-Payment-Sources","summary":"When you receive a payment from your payors (such as Aetna, BCBS, etc.) the Accounting application allows you to apply this payment to the patients in the system associated with this payor.","label":"ChiroTouch Accounting Maintenance: Payment Sources","id":"kA163000000CaXACA0"},{"urlName":"ChiroTouch-Meaningful-Use","summary":null,"label":"ChiroTouch Meaningful Use","id":"kA163000000CaXPCA0"},{"urlName":"ChiroTouch-Provider-All-In-One-Toolbar-Overview","summary":"When you first log in to the application, the main screen appears blank. The screen is not yet populated with a patient’s information because you have not yet selected a patient or attempted to call the next patient to the room. However, you do have access to most of the toolbar options located at the top of the screen.","label":"ChiroTouch Provider All-In-One Toolbar Overview","id":"kA163000000CaXjCAK"},{"urlName":"ChiroTouch-Provider-All-In-One-Treatment-Plans","summary":"The Treatment Plan section allows you to create and manage your patient’s treatment plan. Various areas in this section allow you to create and modify your current plan, request an appointment and view the patient’s appointment history.","label":"ChiroTouch Provider All-In-One Treatment Plans","id":"kA163000000CaXoCAK"},{"urlName":"ChiroTouch-Provider-Charges-SALT","summary":null,"label":"ChiroTouch Provider: Charges: SALT","id":"kA163000000CaXZCA0"},{"urlName":"ChiroTouch-Provider-Configuring-Your-Treatment-Notes","summary":"Your Treatment Notes are configurable so that you can set up your treatment note headings in the way that works best for you. To configure yourTreatment Notes setup, click the \"Setup\" button in the lower right-hand corner of the Treatment Notes screen.","label":"ChiroTouch Provider: Configuring Your Treatment Notes","id":"kA163000000CaXeCAK"},{"urlName":"ChiroTouch-Provider-Treatment-Notes","summary":"To enter treatment notes for your patients, click the \"Tx Notes\" button on the Patient Search screen.","label":"ChiroTouch Provider: Treatment Notes","id":"kA163000000CaXUCA0"}]';
console.log('sResult'+'-->' + sResult);
var text1 = JSON.parse(sResult);
document.forms.form1.area.value = text1;
}
</script>
</head>
<body>
<form name='form1'>
<textarea name='area' rows="12" cols="100" ></textarea>
<input onclick='input()' type='button' value='BUTTON' id='button'>
</form>
</body>
</html>
What I have tried:
when we add one more '\' ,then it is work fine.but if we remove one,then it is not work