I have been added to project with ember. Unfortunetly I only know AngularJS. Anyway what I have to do is to add onclick event on checkbox. I've tried to use observer but without much success (probably because input is generated via iteration). Heres the code
<tr>
<td class="checkbox-event" selenium-id="check"></td>
<td selenium-id="id"></td>
<td selenium-id="name"></td>
<td selenium-id="category"></td>
<td selenium-id="price"></td>
</tr>
What I need to do is to add click event on input that will call some function with prod
as argument. I have only found answers for 'normal' input but not the one above.
Aucun commentaire:
Enregistrer un commentaire