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

  • Автор темы Автор темы BlackSun
  • Дата начала Дата начала

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
 
If you use JavaScript and need to pass some text to it. It can contains quotas and caret returns. This macros escapes them.
 

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