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

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
5019
2
8月 22
6884
1
7月 19
3289
0
11月 17
6679
4
9月 17
25494