how to handle both apostrophes and quotation marks conversion together in string
Currently i am handleing only apostrophes
var strname = data[i].name
strname = strname.replace("'","@");
and how to i replace it back later
strrename = strrename.replace(“@”,”‘”);
I’m not really sure what you want to do here but if you’re trying to replace single quotes and double quotes in a string with the @ symbol then this should work: