helo guys, im a n00b in php, i would like to ask how to make an autocomplete textbox wherein u type in the value and on change it select from mssql table the corresponding field "like" the value that is typed.
Thanks in advance. hope u guys can help me up asap.
How can i make a autocomplete textbox?
Moderator: General Moderators
-
dscythemar
- Forum Newbie
- Posts: 2
- Joined: Thu Jun 09, 2005 12:40 am
- senthilnayagam
- Forum Newbie
- Posts: 17
- Joined: Wed Jun 08, 2005 5:36 am
- Location: Bangalore
AJAX based Solution for your problem
Hi,
I will not dismiss your request as silly or not php post.
There is something called AJAX(AJAX : Asynchronous JavaScript + XML)
which can do the trick for you
check the article on my site
these are the opensource php projects whch can help you not doing JS but the PHP part
Sajax
JPSPAN
SSRS
JSRS
Google Suggest
Google Maps
LiveSearch( the kind of code you want) check the search button
Zuggest
hope this will help you get started
but mind if your site has lot of hits you need to architect your site so as it is effective, AJAX causes lot of traffic between site and server
you must learn how to optimsie your code and use client side/server side cacheing
regards
Senthil
I will not dismiss your request as silly or not php post.
There is something called AJAX(AJAX : Asynchronous JavaScript + XML)
which can do the trick for you
check the article on my site
these are the opensource php projects whch can help you not doing JS but the PHP part
Sajax
JPSPAN
SSRS
JSRS
Google Suggest
Google Maps
LiveSearch( the kind of code you want) check the search button
Zuggest
hope this will help you get started
but mind if your site has lot of hits you need to architect your site so as it is effective, AJAX causes lot of traffic between site and server
you must learn how to optimsie your code and use client side/server side cacheing
regards
Senthil
On the second thought, this is possible.
http://www.webreference.com/programming/javascript/ncz/
http://www.webreference.com/programming/javascript/ncz/
Offcourse it's possible
) http://jpspan.sf.net has some nice examples too..