Odoo Help


getting problem in web module JS file

chinmoy maity
on 8/28/13, 9:16 AM 1,298 views

In my template there is coding like this --

<div title="" class="display_no oe_topbar_item">
<button class="display_count"></button>
<div class="dropdown_list">

--for this above code , i'm able to access "button" from my JS file and able to add a click event with that .
Now I'm adding --
<tr></td></a>Some link</a></td></tr>
at runtime from JS with table .
Now , how can i add on click event with the "a" tag ??

-- help please , thanks in advance ,

Sarath Chandran.C
On 8/31/13, 7:42 AM

Have you tried like this ??---

this.$('.dropdown_list a').on('click', function(){ //your code here .. });

Hi sarath ,

I've tried this , but nothing responding on click ... :-(

chinmoy maity
on 8/31/13, 7:44 AM

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.


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

0 follower(s)


Asked: 8/28/13, 9:16 AM
Seen: 1298 times
Last updated: 3/16/15, 8:10 AM