![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveCan someone please explain this code?
From: <amerar@iwc.net>
Date: Mon Jan 30 2006 - 21:23:38 CET
Hi All,
I'm not good at Javascript, so I am trying to understand this small bit
var groups=document.$fm.category.options.length;
It looks like line #1 is getting the length of a combo box on the page.
What could line #3 & #4 be doing?
The array has already been created with the size........I'm unclear.
Thanks.
|