<!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=827544516-25062003>Yes, your solution to 
make the SELECT an user editable object will work. I have done it more than once 
that way. It's just </SPAN></FONT><FONT color=#000000><SPAN 
class=827544516-25062003>I've been looking for a solution to make it more 
directly editable like other environment.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=827544516-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=827544516-25062003>My previous comment was 
not meant to chastise, just to inform on how a word can mean different things to 
different people.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=827544516-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN class=827544516-25062003>I used to do training, 
and words were almost the largest obstacle to people understanding the 
technology, my instructions and each other, since many of these folks were 
experienced professional from many diverse technical 
backgrounds.</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=827544516-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000><SPAN 
class=827544516-25062003>jsWalter</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN 
class=827544516-25062003></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=827544516-25062003></SPAN>&nbsp;</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 3:46 
  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=583302308-25062003>Well,I really dont see too much difference 
  between the SELECT and the combo box wrt JAVASCRIPT as both are used in 
  tandem.But as Walter rightly pointed out,the difference is more obvious in a 
  VB form I guess.</SPAN></DIV>
  <DIV><SPAN class=583302308-25062003>Anyways,coming to the problem,in fact 
  there is a work around for this.</SPAN></DIV>
  <DIV><SPAN class=583302308-25062003>If the requirement is that the user should 
  be able to create a new item by keying in info,it can be done with this 
  workaround:</SPAN></DIV>
  <DIV><SPAN class=583302308-25062003>Create a text box wherein the user keys in 
  the info.Onclick of a button or onBlur of that particular text field, a JS 
  function can be invoked which will do the "new option" creation as mentioned 
  earlier.&nbsp;</SPAN></DIV>
  <DIV><SPAN class=583302308-25062003>There is always a 
way...:-)...</SPAN></DIV>
  <DIV><SPAN class=583302308-25062003></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=583302308-25062003><SPAN class=541363812-24062003><FONT 
  color=#000000>Pat Gorden-Ozgul ...</FONT><FONT color=#cccc00>if you need code 
  for what i mentioned above,please let me know..will post the same in my next 
  email.</FONT></SPAN></SPAN></DIV>
  <DIV><SPAN class=583302308-25062003><SPAN class=541363812-24062003><FONT 
  color=#cccc00>I hope our discussion has been of some help to you in solving 
  your problem.</FONT></SPAN></SPAN></DIV>
  <DIV><SPAN class=583302308-25062003></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=583302308-25062003>Regards,</SPAN></DIV>
  <DIV><SPAN class=583302308-25062003>Smitha.</SPAN></DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <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>Walter Torres<BR><B>Sent:</B> Wednesday, June 25, 2003 11:55 
    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><BR></FONT></DIV>
    <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></BLOCKQUOTE>
  <TABLE>
    <TBODY>
    <TR>
      <TD bgColor=#ffffff><FONT color=#000000><PRE>**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************
</PRE></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>