If you are trying to select a value in your dropdown based on the input box vsomething like this should do the trick:
funtion correctSelect(inputBoxValue,selectBoxObject) { var i=0; for(i;i<selectBoxObject.length;i++) { if(inputBox.value == selectBoxObject.options[i].value selectBoxObject.selectedIndex = i; } } Adam H On 7/11/05, Claremont, Timothy <[EMAIL PROTECTED]> wrote: > I have a text box for client number and a drop down box for client name. > > Using data binding, when you choose a client name from the drop down > box, the client number is populated. > > How can I make the drop down box move to the appropriate name when a > clientnum is entered in the text box? > > To summarize, If you enter or select a value in one control, I want the > other control to automatically update. It works in one direction, but > not the other. > > TIA, > Tim > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please delete it from > your system. > > This footnote also confirms that this email message has been swept for > the presence of computer viruses. > > Thank You, > Viahealth > ********************************************************************** > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211590 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54