I am trying to use this script and i have put some print lines in the script to see where it stops. Here is the section of the code
actb_curr = obj;
alert("actb_curr" + actb_curr);
addEvent(actb_curr,"focus",actb_setup);
alert("setup event called");
It prints the first alert like this (actb_curr[object]). But it doesn't print the 2nd alert. Also, i don't see any thing in my page when i start to type in in the text box. Please help.
Here is the code section from my html/jsp file.
ca = new Array('apple','pear','mango','pineapple',
'orange','banana','durian', 'jackfruit','etc');
I've tried actb.js, it worked well. But, where 'tat_tr' is declared and arrowkey moveup and movedown do not work properly. Could you please help and explain more in detail about this? Thanks,
Hi
Can someone help me to implement this in a right to left language?
I tried to replace "left" with "right" but it does not work.
For example there is no offsetRight in javascript.
There are two things that I did not manage with:
1. Put the table in the relevant possition.
2. Align the text in the table to the right.
Hi, I'm using this script and found it very simple to implement. Very nice work!
However I'm using an array of over 1000 elements, and it just doesn't works. As the array will be made from a mySQL table, which will grow and grow, I'd like to know what causes this stop; and, if someone knows, how to get rid of it.
You might have had an issue with some illegal characters. \ , . ' need to be stripped from the data. What seemed to me as a limitation to the number of records actually came down to the unacceptable characters.
For example I had a company called "John's Food Market" which causes issues.
Hope this helps.
Well I find the script very useful but I have a problem. I use several divs, and the list appears behind the other Divs, so I cannot see what it appears on the menu. Is there a way to set the list in top front. With css you can do it with z-index, but how schould I do that with the script?
thank you for your help
I would like to know if it's possible to use this autocomplete feature with an access database instead of an array...Thanks a lot if you have any code for me because I can't find THE solution...
Another flaw in IE6 when using block styles. They hide behind the tag. This has been fixed with IE7, and I have even found work arounds for IE6. Unfortunately, I cannot get those work arounds to work with your script. Great script buy the way.
BTW, your script does work in IE7.
I was wondering if anyone has asked you about this flaw yet and has anyone been able to come up with a fix. Your script is a bit over my head when it comes to tweeking it to fix this issue. Any help would be great.
Thanks,
Kevin
CSS and Javascript that fixed my CSS Menu
#nav li ul { position: absolute; width: 10em; left: -999em; }
#nav li:hover ul { left:auto; }
#nav li:hover ul, #nav li.sfhover ul { left:auto; }
I'm looking for a way to dropdown the list manually (by user pressing arraw down) or by clicking a combobox "down-icon".
Is this possible?
I have tried to change actb_checkkey so that it calls autogenerate when keycode 40 is received and some other small changes but have not been able to get it to work.
Is it possible to bring the drop down box to the top of the page, i.e. there are other controls under the textbox and whenever the list of suggestions comes up it gets hidden by the other controls present on the page. so I need to know, if the list of suggestions(dropdown box) can come above all other controls.
I figured out how to do this. You have to change the z-index of the table that is created. Within actb.js, it creates a table at lines 105 and at 180. After these lines, add this:
Ok, so I've tried onblur and onchange to submit my search form. It does work, however it only submits what I've typed and not what the autocomplete has input in the box.... anyone have a solution? Would I need to modify the script or can I create another script to submit the text field form AFTER the autocomplete fills in the form?
Matthew Gisonno
Last Visit: 31-Dec-99 18:00 Last Update: 22-Sep-24 21:09