<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Fiesta</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE>BODY {
        COLOR: #cccc00; FONT-FAMILY: Verdana, Arial; FONT-SIZE: 10pt
}
</STYLE>

<META content="MSHTML 5.00.3516.2800" name=GENERATOR></HEAD>
<BODY background="">
<DIV><FONT color=#000000><SPAN class=722120805-25062003>Not to be too picky, but 
a SELECT Element in HTML is *not* a combo-box.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>A "combo-box" is a VB 
Object that lists you, the user-not the developer, create a new item to a pick 
list by keying the info right a the pick list.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>An HTML SELECT Element 
does not have that "feature" (Boy! I wish it did!)</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>So, your example is nice 
"one liner", it does not make the SELECT a combo box.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>You really had me 
excited when I was reading this thread about "dynamically adding an item in a 
combo-box".</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>I was eager to see the 
solution.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>But 
alas...</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>Anyway, as I said, nice 
"one-liner"</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>jsWalter <EM>[still 
eagerly wishing for a true combo-box]</EM></SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=722120805-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=722120805-25062003>So,</SPAN></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #cccc00 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT 
  face=Tahoma>-----Original Message-----<BR><B>From:</B> 
  javascript-bounces@LaTech.edu [mailto:javascript-bounces@LaTech.edu]<B>On 
  Behalf Of </B>Smitha Ramaswamy<BR><B>Sent:</B> Wednesday, June 25, 2003 12:00 
  AM<BR><B>To:</B> [JavaScript List]<BR><B>Subject:</B> RE: [Javascript] in 
  response to "add a new entry in a drop down menu"<BR><B>Importance:</B> 
  High<BR><BR></DIV></FONT>
  <DIV><SPAN class=320535504-25062003><FONT 
color=#000000>Hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=320535504-25062003><FONT color=#000000>I have attached a very 
  simple html with JS code that will enable you to add a new element to the 
  combo box.</FONT></SPAN></DIV>
  <DIV><SPAN class=320535504-25062003><FONT color=#000000>I hope this is of some 
  help to you.Do get back to me in case of any queries.</FONT></SPAN></DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000>&lt;HTML&gt;<BR>&lt;HEAD&gt;<BR>&lt;TITLE&gt; New Document 
  &lt;/TITLE&gt;<BR>&lt;META NAME="Generator" CONTENT="EditPlus 
  1.2"&gt;<BR>&lt;META NAME="Author" CONTENT=""&gt;<BR>&lt;META NAME="Keywords" 
  CONTENT=""&gt;<BR>&lt;META NAME="Description" 
  CONTENT=""&gt;<BR>&lt;/HEAD&gt;</FONT></SPAN></DIV>
  <DIV><FONT color=#000000></FONT>&nbsp;</DIV>
  <DIV><SPAN class=320535504-25062003><FONT color=#000000>&lt;BODY 
  BGCOLOR="#FFFFFF"&gt;<BR>&lt;FORM&gt;<BR>&lt;SELECT 
  NAME="test"&gt;<BR>&lt;option value="1"&gt;one&lt;/option&gt;<BR>&lt;option 
  value="2"&gt;two&lt;/option&gt;<BR>&lt;/SELECT&gt;</FONT></SPAN></DIV>
  <DIV><FONT color=#000000></FONT>&nbsp;</DIV>
  <DIV><SPAN class=320535504-25062003><FONT color=#000000>&lt;SCRIPT 
  LANGUAGE="JavaScript"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.forms[0].test.options[document.forms[0].test.options.length] 
  = new Option('three','3')<BR>&lt;/SCRIPT&gt;</FONT></SPAN></DIV>
  <DIV><FONT color=#000000></FONT>&nbsp;</DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000>&lt;/FORM&gt;<BR>&lt;/BODY&gt;<BR>&lt;/HTML&gt;<BR></FONT></SPAN></DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000>Regards,</FONT></SPAN></DIV>
  <DIV><SPAN class=320535504-25062003><FONT 
  color=#000000>Smitha</FONT></DIV></SPAN></BLOCKQUOTE></BODY></HTML>