跳至内容
菜单
此问题已终结
2 回复
8942 查看

I want to show onclick alert message on button click in javascript. How to do that?

形象
丢弃

Have you found any solution?

最佳答案

Hi Ranjith,

xml

<button class="your-Class" ......... />

js

$('.your-Class').click(function(){
     alert();
});


形象
丢弃

It seems very simple ... but it doesn't work for me (I'm using odoo 12.0 C.E.

相关帖文 回复 查看 活动
1
7月 19
5536
2
8月 22
7294
1
7月 19
3573
0
11月 17
7179
4
9月 17
25974