[英]How to open PA chat bot in new window when click on chat button using HTML
I have integrated my PVA chat bot on portal.but I want it to open in new window when I click on chat bot button.and then we can chat with bot我已经在门户网站上集成了我的 PVA 聊天机器人。但是当我单击聊天机器人按钮时,我希望它在新的 window 中打开。然后我们可以与机器人聊天
I am just confused with the help of button class how we can achieve it.我只是对按钮 class 的帮助感到困惑,我们如何实现它。
I don't have any change url to open in new window..I just wanted to open in new window when I click on button我没有任何更改 url 可以在新的 window 中打开。我只想在单击按钮时在新的 window 中打开
If I understand well what you want, you can use window.open
then set your link like this:如果我很清楚你想要什么,你可以使用
window.open
然后像这样设置你的链接:
<button class="button" onClick="window.open('your url');">
Open
</button>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.