Odoo Help

0

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

By
Ranjith Kumar
on 11/11/16, 3:33 AM 566 views

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

0
Shameem
On 11/11/16, 5:02 AM

Hi Ranjith,

xml

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

js

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


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 11/11/16, 3:33 AM
Seen: 566 times
Last updated: 11/11/16, 5:02 AM