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
Відповіді
8479
Переглядів
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
1
лип. 19
|
4934 | ||
|
2
серп. 22
|
6774 | ||
|
1
лип. 19
|
3228 | ||
|
0
лист. 17
|
6602 | ||
|
4
вер. 17
|
25404 |
Have you found any solution?