I'm using the innovaeditor to style text for a newsletter but am having trouble getting pound signs in. The software uses a javascript function the enter the text into a textarea field based on a chosen template, and if i could undestand how to get code into it to replace the pound sign, I would be OK. That's the bit i don;'t understand
Code:
<textarea name="HTMLBody" cols="100" style="width: 725px; height: 350px;" rows="20"></textarea>
<script>
var oEdit1 = new InnovaEditor("oEdit1");
oEdit1.width=725;
oEdit1.height=350;
oEdit1.arrCustomButtons=[['OptOut',"oEdit1.insertLink('<%=RSBODY("URL")%>','Manage Account','_blank');","Insert Manage Account Link","btnOptOut.gif"]];
oEdit1.arrCustomTag=[["First Name","%FirstName%"], ["Last Name","%LastName%"], ["Email","%Email%"], ["Password","%Password%"]<%If Len(RSBODY("CustomName1")) > 0 Then%>, ["<%=RSBODY("CustomName1")%>","%CustomField1%"]<%End If%><%If Len(RSBODY("CustomName2")) > 0 Then%>, ["<%=RSBODY("CustomName2")%>","%CustomField2%"]<%End If%><%If Len(RSBODY("CustomName3")) > 0 Then%>, ["<%=RSBODY("CustomName3")%>","%CustomField3%"]<%End If%><%If Len(RSBODY("CustomName4")) > 0 Then%>, ["<%=RSBODY("CustomName4")%>","%CustomField4%"]<%End If%><%If Len(RSBODY("CustomName5")) > 0 Then%>, ["<%=RSBODY("CustomName5")%>","%CustomField5%"]<%End If%>];
oEdit1.features=["Preview","FullScreen","Print","Search","SpellCheck","|","Cut","Copy","Paste","PasteWord","PasteText","|","Undo","Redo","|","ForeColor","BackColor","|","Bookmark","Hyperlink","Image","Flash","Media","|","Table","Guidelines","Absolute","|","Characters","Line","Form","RemoveFormat","XHTMLSource","ClearAll","BRK","StyleAndFormatting","TextFormatting","ParagraphFormatting","ListFormatting","BoxFormatting","CssText","|","Paragraph","FontName","FontSize","|","Bold","Italic","Underline","Strikethrough","Superscript","Subscript","|","JustifyLeft","JustifyCenter","JustifyRight","JustifyFull","|","Numbering","Bullets","|","Indent","Outdent","LTR","RTL","|","CustomTag","OptOut"];
oEdit1.cmdAssetManager="modalDialogShow('../attach/assetmanager.asp',640,445);";
oEdit1.mode="XHTMLBody";
oEdit1.REPLACE("HTMLBody");
</script>