jquery - {{#each}} in Handlebars and accessing each element created -


i using handlebars create template table, , can't seem able access each individual td created.

<tbody>                 {{#each this}}                 <tr class='row'>                          <td class='table-course'>{{name}}</td>                         <td>{{teacher}}</td>                         <td>{{department}}</td>                  </tr>                 {{/each}} </tbody> 

i have given first td class of 'table-course' can't seem access these td's in jquery. when try trigger jquery event $('td.table-course) nothing happens.

does know best way access these {{#each}} generated td?


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -