SSJS例程后的客户端消息如何? [英] client message after SSJS routine how?
本文介绍了SSJS例程后的客户端消息如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个按钮,在 SSJS 中发送和发送电子邮件...
I have a Button that in SSJS send and Email...
现在我会向用户实时显示发送电子邮件的状态:
Now I would if is possibile show the status of sending of email in real-time to the user:
- 发送过程....
- 发送成功或发送错误
如何从 SSJS 例程调用 JS 客户端代码?你有什么建议吗?
How Can i call a JS client codice from SSJS routine? Have you any suggest?
推荐答案
8.5.3 引入了一个非常好的方法:
8.5.3 introduced a very nice approach:
view.postScript
您可以从 SSJS 代码中插入您喜欢的任何 CSJS 代码.
you may insert any CSJS code you like from the SSJS code.
这篇关于SSJS例程后的客户端消息如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文