|
|
Q739 How can I remove all the entries from a select form field?
irt.org | Knowledge Base | JavaScript | Form 4 | Q739 [ previous next ] Q739 How can I remove all the entries from a select form field?Chopping an array's length property (i.e., setting it to something less than it is currently) clears the items from the end of the select object. So:
which clears a list in one instruction. |
-- div -->
|