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:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
2
返信
8568
ビュー
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
|
4985 | ||
|
2
8月 22
|
6866 | ||
|
1
7月 19
|
3271 | ||
|
0
11月 17
|
6659 | ||
|
4
9月 17
|
25468 |
Have you found any solution?