function CorrectStringAsSPData(strValue)
{
//Replace & symbol
var givenString = strValue.replace(/&/g, "&");
//Replace < symbol
givenString = givenString.replace(/</g, "<");
//Replace > symbol
givenString = givenString.replace(/>/g, ">");
//alert(givenString)
return givenString;
}
No comments:
Post a Comment