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

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -