This content has been marked as final.
Show 3 replies
-
1. Re: What is initial value of an empty drop-down?
pguerett Apr 14, 2010 11:44 AM (in response to Bill95722)Those commands are testing the value that is selected by the user. As they have not selected anything yet they will not have a value.
The command:
DropDownList1.items.nodes.length
Will give you the number of items in the DDlist. It is 1 based. Note that it will not count any items that were added to the dropdown by the user.
Paul
-
2. Re: What is initial value of an empty drop-down?
Kevin Cavallo Apr 14, 2010 11:42 AM (in response to Bill95722)Try: dropdown.items.nodes.length == 0
-
3. Re: What is initial value of an empty drop-down?
Bill95722 Apr 14, 2010 1:22 PM (in response to Kevin Cavallo)Both are correct! Thanks for the assistance!



