i have to pass the html content value into array without formatting issue.
EventDescription =Multiline of text fild(Enhanced rich text);
i have an array eventDets[]. and im passing the all item value into this array.I have retrived the EventDescription field value and its a html content here im removing the special characters but when im inserting the item i need html content.
is it simple using innerhtml.but array how to pass the inner html
item.EventDescription= item.EventDescription.replace(/[^A-Za-z ]/g, '');
eventDets.push(item);