To remove all HTML tags when insert the html to description fields replace the content with the next command:
Xrm.Page.getAttribute("description").setValue(Xrm.Page.getAttribute("description").getValue().replace(/<[^>]*>?/g, ""));
Enjoy,
Rami Heleg
No comments:
Post a Comment