Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How to write a script manage a list using JavaScript?
How to write a script manage a list using JavaScript?
✍: Guest
1. To remove an item from a list: set it to null:
myList[3] = null;
2. To truncate a list: reset the length property:
myList.length = 2;
3. To delete all items in a list, set the length to 0:
myList.length = 0;
2008-07-01, 5841👍, 0💬
Popular Posts:
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
How To Select All Columns of All Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with ...
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files ...
What is a fish bone diagram ? Dr. Kaoru Ishikawa, invented the fishbone diagram. Therefore, it can b...
What Is a LABEL Tag/Element? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields A "label" ...