2
Contributors
5
Replies
7
Views
8 Years
Discussion Span
Last Post by nav33n
0

I tried all the scripts and they work (on both IE and mozilla) ! What error are you getting exactly ?

0

Aaa. They all work now. Thanks to you and Error console.

Do you have any working example for auto completing for php&mysql ? I have tried a lot of web examples but none worked.

I'll mark this as Solved after your answer.

Thanks

0

Well, I don't have an example with me. But, Instead of having an xml, you can query the table, then have a select element where you can show all the matching values. Also have an onchange event for select so that when the user clicks an option, it is inserted to the textbox.

<select name='selecttag' multiple='10' onchange='document.getElementById('txt1').value=this.value;'>

You also need to hide the border of select element.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.