Skip to Content
Menu
This question has been flagged
2 Replies
9104 Zobrazenia

I want to show onclick alert message on button click in javascript. How to do that?

Avatar
Zrušiť

Have you found any solution?

Best Answer

Hi Ranjith,

xml

<button class="your-Class" ......... />

js

$('.your-Class').click(function(){
     alert();
});


Avatar
Zrušiť

It seems very simple ... but it doesn't work for me (I'm using odoo 12.0 C.E.

Related Posts Replies Zobrazenia Aktivita
1
júl 19
5926
2
aug 22
7451
1
júl 19
3678
0
nov 17
7358
4
sep 17
26140