counting char length js

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

yosheryosh

Client
Регистрация
28.10.2011
Сообщения
44
Реакции
0
Баллы
0
my js looks like:

{-JS.Execute-|-var s = {-FieldData.FieldData-|-●4●6●8●0●7●2●-|-body-}.length-}



I never get an output here though?
 
Are there any issues with the prep text for JS? I run it through there first, then execute the above and nothing...
 
It works if I type in strings.. but using the execution result never works.
 
Try this:

{-JS.Execute-|-
var text = "yourtextorfielddata"
text.length
-}
 
Nope that didn't work either. Did you get that to work on your end?
 

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