You are here: Re: [PHP] php / mysql / js search result question « PHP « IT news, forums, messages
Re: [PHP] php / mysql / js search result question

Posted by "Richard Lynch" on 12/30/05 22:57

On Tue, December 27, 2005 2:03 am, Dave Carrera wrote:
> I have a very long list of customer names which i know is easy to get
> from a mysql result using php, no prob there.

How long is very long?...

> But what i would like to do is offer input box and when the user
> enters
> a letter, i think this will require client side onchange(), the full
> list, i think might be in an iframe, will move to the first instance
> of
> user input.
>
> Example:
>
> 1 Alpha Customer
> 2 Apple Customer
> 3 Beta Customer
> 4 Crazy customer
> 5 Doppy customer
>
> User input is "a" so the list moves to first instance of "a". User
> continues to input "ap" so the list moves to "2 Apple Customer" and so
> on.

*IF* your visitor is using a decent browser and OS, then that's
EXACTLY how this works:

<select size="10">
<option>Alpha Customer</option>
<option>Apple Customer</option>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация