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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Proje Yönetimi
- MRP
Bu soru işaretlendi
2
Cevaplar
9388
Görünümler
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!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
1
Tem 19
|
6304 | ||
|
|
2
Ağu 22
|
7713 | ||
|
|
1
Tem 19
|
3871 | ||
|
|
0
Kas 17
|
7604 | ||
|
|
4
Eyl 17
|
26427 |
Have you found any solution?