Aide

0

How to display alert on button onclick JS in odoo 8?

Avatar
Ranjith Kumar

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

1 Commentaires
Avatar
Annuler
Avatar
Zahid Mehmood
-

Have you found any solution?

1 Réponse
0
Meilleure réponse

Hi Ranjith,

xml

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

js

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


Avatar
Annuler