mardi 3 février 2015

Determine which checkbox is been clicked

I've chosen Ember.js for one my project and this is the first time I'm fiddling with this framework. Currently, I'm trying to get my mind around the framework and I'm stuck at one particular problem.


I've scenario where the user will be given a list of checkboxes to mark the give item and I've to trigger an ajax call after determining which checkbox has been checked. List of checkboxes is been fetched on demand from the server and they may vary per item.


My question is how do I determine which checkbox is been clicked by the user, so that I will be able to make an ajax call?


http://ift.tt/1zOTSzo





Aucun commentaire:

Enregistrer un commentaire