Re: Date help needed
| From: | Neil Smith [MVP, Digital media] | Date: | Fri, 25 Jun 2004 15:22:17 +0000 |
| Subject: | Re: Date help needed | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34958@lists.php.net to get a copy of this message | ||
No, it's actually very easy to do the autocomplete once you get the hang of it. Actually the way I've done it is to populate a multi-select box but you could also use a DIV and write out the values
Dump the email addresses as an XML file (generate this dynamically) then use XSLT to read out matching rows on each keyup ... basically you filter the XML file each time till you get down to one value
Yes, it's javascript but it works really well as long as you have some control over your client browser (in the case of your boss, probably IE but it can be made to work in mozilla / firefox too)
Mail me offlist if you want a working example.
Cheers - Neil
At 11:07 25/06/2004 +0000, you wrote:
Message-Id: <200406250252.i5P2qY7t020580@ms-smtp-04.tampabay.rr.com> From: "Chris Payne" <chris_payne@planetoxygene.com> To: <php-db@lists.php.net> Date: Thu, 24 Jun 2004 22:53:13 -0400 MIME-Version: 1.0 Content-Type: text/plain;======================================================== CaptionKit http://www.captionkit.com : Production tools for accessible subtitled internet media, transcripts and searchable video. Supports Real Player, Quicktime and Windows Media Player. VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world.charset="us-ascii"Content-Transfer-Encoding: 7bit Subject: RE: [PHP-DB] Date help needed One thing he wanted which I didn't know how to do (Javascript I guess which I don't know much about) was to preload a database of email address, and as he started to type an email address it would do a sort of auto-complete, but have no clue how to go about that so just told him not viable ATM.