ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 25,955
- Points
- 823
Reputation:
How do you pass a parameter to a phrase in javascript? I'm trying the following, but I don't see the substituted value:
my_phrase has the following in my phrases.xml file:
Unfortunately, I only see my_phrase rendered on the page.
Continue reading...
my_phrase has the following in my phrases.xml file:
'{myParam} man'
XF.phrase("my_phrase",{"{myParam}":'weeee'})
Unfortunately, I only see my_phrase rendered on the page.
Continue reading...