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
回覆
8350
瀏覽次數
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
|
4809 | ||
|
2
8月 22
|
6678 | ||
|
1
7月 19
|
3078 | ||
|
0
11月 17
|
6492 | ||
|
4
9月 17
|
25280 |
Have you found any solution?