suppose there is elephant in custom aray and user types elepha then why do after pressing enter elephant get selected .
Rather if user press up and down arrow then it should get selected.
Any help on this will be helpful.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Set connString = Server.CreateObject("ADODB.Connection")
set objRS = Server.CreateObject("ADODB.Recordset")
mySQL = "SELECT * FROM Companies"
set objRs = connString.Execute(mySQL)
If NOT objRs.EOF OR NOT objRs.BOF Then
GetPDFsArray = objRs.GetRows()
GetPDFsArray = ""
arrPDFs = GetPDFsArray
If isArray(arrPDFs) Then
for i=0 to uBound(arrPDFs,2)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<input type="text" name="pdfDesc" id="pdfDesc" autocomplete="off" />
As I said the page loads, but the autocomplete does nothing.
Thanks in advance to anyboby that takes the time to read this.
My scenario is this: the user uses an on-screen keyboard which fires events to fill the textbox. The autocomplete works great when using an actual keyboard, but when they click the keys on the on-screen keyboard (input buttons), the list is not generated. If there is a way I can show the autocomplete list from what is already in the textbox, that would be excellent!
Thanks again for this great code. I am using it on a new site of my own due to go live very soon which will be a commercial site so thought I better ask if this will be okay.
Zichun, I desperately need your help! I'm working on a site using your control (easily the best one on the web, I hope you don't mind). And I'd like to call it from within a jQuery ThickBox. http://jquery.com/demo/thickbox/
The two problems I am experiencing are:
1. The auto complete renders from the "non-scrolled" location of the thickbox's text field i assigned it to. If you're scrolled down, you can't see it at all.
2. The auto complete control renders behind both the thickbox and the transparent gray that darkens the page.
I tried messing with z-index stuff, but I couldn't figure it out.
I have to use the thickbox, and I love your auto complete so much that I can't use a different one. Any help or guidance you can give me would be good. My email is firstname.lastname@example.org, please contact me ASAP!
Well I am using this feature and it works great.Only limitation is that it does not support '&' (eg: A&A does not appear on typing 'a' , it does appear on typing a& ) though it supports most other special characters. Just wanted to know where I could change in the code to escape this character.
I m doing my engineering graduate project named "Digital library search-Thirukkural" in tamil.I need to finish the auto complete module in it.Can this work with tamil languauge. Also i am doing the project in java and ms-access.Please elaborately explain how to include this in my project.Urgent plzzzzz
<input type="text" name="pdfDesc" id="pdfDesc" autocomplete="off" /><br />
So the Text box above will be bound the js as in the original example, but instead of hardcoding the array values, just drop in the variable name.