Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
8001 Vistas

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

Avatar
Descartar

Have you found any solution?

Mejor respuesta

Hi Ranjith,

xml

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

js

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


Avatar
Descartar

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 19
4392
2
ago 22
6243
1
jul 19
2809
0
nov 17
6050
4
sept 17
24763