Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (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, 5969👍, 0💬
Popular Posts:
What does a well-written Object Oriented program look like? A well-written object oriented program e...
How to make elements invisible? Change the "visibility" attribute of the style object associated wit...
How can I use tables to structure forms Small forms are sometimes placed within a TD element within ...
If we have multiple AFTER Triggers on table how can we define the sequence of the triggers ? If a ta...
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&a...