I have small window, in that I have one Textarea field and OK button for saving that data,
now when i am typing something in textarea by pressing "Enter" key i will go to next line after i will type something(now entier data in two lines). In textarea value i am retriving by getvalue from json data and i am converting \n by using this code in Firefox it is working means saving but in IE it is not saving and showing error "unterminated string constant "
please check the code
jsonData1 = jsonData1.substring(0, jsonData1.length-1);
jsonData1 = jsonData1.replace(/\n/g,'');
Please give some suggestions for resolving this issues