[Javascript] Select List box
Dave Stoltz
dstoltz at shh.org
Wed Nov 5 07:36:58 CST 2003
Can you show me a sample line of code that would do this?
(I'm a JS newbie)
Thanks!
_____
From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]
On Behalf Of David Lovering
Sent: Wednesday, November 05, 2003 8:34 AM
To: [JavaScript List]
Subject: Re: [Javascript] Select List box
Actually, no you don't. Simply set the length of the array to 0, and
"voila!" the list goes away. Some incredibly lame browsers may require more
brutal methods (early versions of Opera, some one-off versions of Mozilla,
and a few Java-based ones), but the mainliners like this approach just fine.
-- Dave Lovering
----- Original Message -----
From: Dave Stoltz <mailto:dstoltz at shh.org>
To: javascript at LaTech.edu
Sent: Wednesday, November 05, 2003 6:19 AM
Subject: [Javascript] Select List box
I would like to completely clear a select list of all its data...
I think I have to loop through and clear each element(option), can someone
post some sample code to accomplish this?
Thanks!
_____
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20031105/510b050f/attachment.htm>
More information about the Javascript
mailing list