I want to show onclick alert message on button click in javascript. How to do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
8543
查看
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
|
4969 | ||
|
2
8月 22
|
6831 | ||
|
1
7月 19
|
3257 | ||
|
0
11月 17
|
6638 | ||
|
4
9月 17
|
25456 |
Have you found any solution?