JS.PrepString What does it do and when do we need it.

BlackSun

Client
Регистрация
24.01.2011
Сообщения
119
Благодарностей
3
Баллы
0
I've made a Javascript that takes text input and mangles it into the way I want it. :p

However I notice there is a Macro called JS.PrepString

What does JS.PrepString do and when do we need it?

I guess it escapes certain characters sequences? If so which ones?

Thanks
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 285
Благодарностей
2 730
Баллы
113
If you use JavaScript and need to pass some text to it. It can contains quotas and caret returns. This macros escapes them.
 

fthomas137

Client
Регистрация
18.06.2011
Сообщения
91
Благодарностей
11
Баллы
0

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)