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
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
2
Respostes
8231
Vistes
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!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
1
de jul. 19
|
4693 | ||
|
2
d’ag. 22
|
6529 | ||
|
1
de jul. 19
|
2976 | ||
|
0
de nov. 17
|
6352 | ||
|
4
de set. 17
|
25113 |
Have you found any solution?