Question : Error on VBScript statement

I have the code below which works fine in ASP/Javascript pages but in ASP/VBScript pages gives me an error, also described below.




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.

Answer : Error on VBScript statement

Random Solutions  
programming4us programming4us