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:
When using XF.alert to display an alert to the client, the text after the first html tag will be discarded.
In XF 2.2, I'd see moo cow (on two lines). In XF 2.3, I only see moo.
JavaScript:
Continue reading...
In XF 2.2, I'd see moo cow (on two lines). In XF 2.3, I only see moo.
JavaScript:
Code:
const stringArray = ['moo', 'cow'];
XF.alert(stringArray.join('<br/>'));
Continue reading...