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;
2010-08-24, 4149👍, 0💬
Popular Posts:
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...
What is CodeDom? “CodeDom” is an object model which represents actually a source code. It is designe...
How To Blend a Color Layer to a Image? - PSP Tutorials - Fading Images to Background Colors with PSP...
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can p...
How To Create an Add-to-My-Yahoo Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...