46
rated 0 times
[
52]
[
6]
/ answers: 1 / hits: 27854
/ 11 Years ago, wed, august 7, 2013, 12:00:00
I have a list of dynamically filled checkboxes using angular.
<div ng-repeat=X in XList>
<label>{{X.Header}}</label>
<input type=checkbox name=X value={{X.Item.Id}} />
<p>{{X.Header}}</p>
</div>
I want a method to retrieve a list of all the selected checkboxes.
Usually I'd use
$('input[name=checkboxlist]:checked').each(function()
{
}
But this is not acceptable with angular .... So is there an appropriate Method to do so?
More From » angularjs