Are you putting your code into an in-line html fie...
# suitescript
k
Are you putting your code into an in-line html field??