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