Re: Comboox clear text

2013-10-29 Thread mark goldin
=onChanging(event); / -Mark -Original Message- From: mark goldin [mailto:markzolo...@gmail.com] Sent: Monday, October 21, 2013 10:31 AM To: users Subject: Re: Comboox clear text No, that does not work. On Mon, Oct 21, 2013 at 4:36 AM, Kessler CTR Mark J mark.kessler@usmc.mil

RE: Comboox clear text

2013-10-21 Thread Kessler CTR Mark J
If your trying to prevent addition of a new item. Try the preventDefault() from the changing event. Just check for the -3 new value. -Mark -Original Message- From: mark goldin [mailto:markzolo...@gmail.com] Sent: Saturday, October 19, 2013 7:08 AM To: users Subject: Comboox clear

Re: Comboox clear text

2013-10-21 Thread mark goldin
goldin [mailto:markzolo...@gmail.com] Sent: Saturday, October 19, 2013 7:08 AM To: users Subject: Comboox clear text I am trying to make my combobox acting as the following: When a user enters a value that is not found in combo's data and when a focus is moved to another control I want

Comboox clear text

2013-10-19 Thread mark goldin
I am trying to make my combobox acting as the following: When a user enters a value that is not found in combo's data and when a focus is moved to another control I want to clear the text that the user just entered. Here is my code: if (selectedIndex == -3) { selectedIndex = -1; prompt = ; } which