<!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> </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> </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> </DIV>
<DIV><FONT color=#000000><SPAN
class=827544516-25062003>jsWalter</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN
class=827544516-25062003></SPAN></FONT> </DIV>
<DIV><SPAN class=827544516-25062003></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 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. </SPAN></DIV>
<DIV><SPAN class=583302308-25062003>There is always a
way...:-)...</SPAN></DIV>
<DIV><SPAN class=583302308-25062003></SPAN> </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> </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> </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> </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> </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> </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> </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> </DIV>
<DIV><FONT color=#000000><SPAN class=722120805-25062003>But
alas...</SPAN></FONT></DIV>
<DIV><FONT color=#000000><SPAN
class=722120805-25062003></SPAN></FONT> </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> </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> </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> </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> </DIV>
<DIV><SPAN class=320535504-25062003><FONT
color=#000000><HTML><BR><HEAD><BR><TITLE> New Document
</TITLE><BR><META NAME="Generator" CONTENT="EditPlus
1.2"><BR><META NAME="Author" CONTENT=""><BR><META
NAME="Keywords" CONTENT=""><BR><META NAME="Description"
CONTENT=""><BR></HEAD></FONT></SPAN></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><SPAN class=320535504-25062003><FONT color=#000000><BODY
BGCOLOR="#FFFFFF"><BR><FORM><BR><SELECT
NAME="test"><BR><option
value="1">one</option><BR><option
value="2">two</option><BR></SELECT></FONT></SPAN></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><SPAN class=320535504-25062003><FONT color=#000000><SCRIPT
LANGUAGE="JavaScript"><BR> document.forms[0].test.options[document.forms[0].test.options.length]
= new Option('three','3')<BR></SCRIPT></FONT></SPAN></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV><SPAN class=320535504-25062003><FONT
color=#000000></FORM><BR></BODY><BR></HTML><BR></FONT></SPAN></DIV>
<DIV><SPAN class=320535504-25062003><FONT
color=#000000></FONT></SPAN> </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>