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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
7443
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 19
|
3845 | ||
|
2
Aug 22
|
5659 | ||
|
1
Jul 19
|
2352 | ||
|
0
Nov 17
|
5441 | ||
|
4
Sep 17
|
23744 |
Have you found any solution?