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:
Читать далее...
In XF 2.2, I'd see moo cow (on two lines). In XF 2.3, I only see moo.
JavaScript:
Код:
const stringArray = ['moo', 'cow'];
XF.alert(stringArray.join('<br/>'));
Читать далее...