Hi all,
I've got a form (called form1) and a checkbox element (called listing).
When my js function is executed on click, the following elemLength displays 2 if 2 of the listing checkboxes are checked, or 5 if 5 are checked, etc.
var elemLength = manager.listing.length;
However...if only 1 listing checkbox is available to check and it's checked, elemLength returns undefined. Why? Why wouldn't it return 1?
I've got a form (called form1) and a checkbox element (called listing).
When my js function is executed on click, the following elemLength displays 2 if 2 of the listing checkboxes are checked, or 5 if 5 are checked, etc.
var elemLength = manager.listing.length;
However...if only 1 listing checkbox is available to check and it's checked, elemLength returns undefined. Why? Why wouldn't it return 1?