<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=965283613-05112003><FONT face=Arial
color=#0000ff size=2>Can you show me a sample line of code that would do
this?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=965283613-05112003><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=965283613-05112003><FONT face=Arial
color=#0000ff size=2>(I'm a JS newbie)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=965283613-05112003><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=965283613-05112003><FONT face=Arial
color=#0000ff size=2>Thanks!</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> javascript-bounces@LaTech.edu
[mailto:javascript-bounces@LaTech.edu] <B>On Behalf Of </B>David
Lovering<BR><B>Sent:</B> Wednesday, November 05, 2003 8:34 AM<BR><B>To:</B>
[JavaScript List]<BR><B>Subject:</B> Re: [Javascript] Select List
box<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-- Dave Lovering</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dstoltz@shh.org href="mailto:dstoltz@shh.org">Dave Stoltz</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 05, 2003 6:19
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] Select List
box</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=637421621-04112003><FONT face=Arial size=2>I would like to
completely clear a select list of all its data...</FONT></SPAN></DIV>
<DIV><SPAN class=637421621-04112003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=637421621-04112003><FONT face=Arial size=2>I think I have to
loop through and clear each element<SPAN
class=637381813-05112003>(option)</SPAN>, can someone post some sample
code<SPAN class=637381813-05112003> to accomplish
this</SPAN>?</FONT></SPAN></DIV>
<DIV><SPAN class=637421621-04112003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=637421621-04112003><FONT face=Arial
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript mailing
list<BR><A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A><BR><A
href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR></BLOCKQUOTE></BODY></HTML>