I have a jQuery ajax call in which I am trying to send int identifiers to users that can be selected from a checkbox table.
I have a problem with no users being selected. I would expect an empty array, but in fact I get an array length = 1 containing userId 0 (i.e. the unassigned int value).
The following snippet reproduces the problem
$('#test').click(function () { var numbers = $('.noElements').map(function () {
Assert error because numbers is List<int> { 0 } . Why is binding so?
fearofawhackplanet
source share