I have the code below which works fine in ASP/Javascript pages but in ASP/VBScript pages gives me an error, also described below.
Code:
<%=(ReminderFiltered.Fields.Item("ActDesc").Value).replace(/\n/g,"<br>\n")%>
Error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/BlueDot/Local/Scripts/2010Remindersemail.asp, line 168
MailBody = MailBody & (ReminderFiltered.Fields.Item("ActDesc").Value).replace(/\n/g,"<br>\n") ------------------------------------------------------------------------------^
Help is appreciated.
|