Rohan

Rohan

  • NA
  • 1.4k
  • 118k

Remove double qoutes from string value.

Aug 3 2021 12:35 PM

I have use this code and append value in div

var displayTags = [];
                    for (x = 0; x < response.item.displayTags.length; x++) {
                        var displayTagValue = response.item.displayTags[x].displayTagSlug;
                        displayTags.push(displayTagValue);
                      
                       
                        $('.publisher-TOPICS').append('<p class="publisher-option-description"> "' + displayTagValue + '"</p>');
                

But I have face a issue this data append

"witnesses"

"evidence"

"jury"

"jurors"

"persuade"

"trial-consultant"

"deposition"

How to append this data without double qoutes.

 


Answers (2)