943,816 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 4466
  • PHP RSS
May 13th, 2009
0

select box using ajax and php

Expand Post »
hi

Please help me with code or links

i have a text box,when ever some one types a letter or more ,it should search those letters from an array of values or from a mysql table and display all the values starting with value in a text box in a select box

i want it to be live using javascript and ajax

please help me with the code or links that would help me
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jabroni7 is offline Offline
3 posts
since May 2009
May 13th, 2009
0

Re: select box using ajax and php

There are loads of scripts out there - try googling 'autocomplete'. Try scriptaculous (prototype); JQuery; Yahoo! for examples. A number of other frameworks also exist. Try them in different browsers as support for certain ajax tricks vary.
Sponsor
Featured Poster
Reputation Points: 1048
Solved Threads: 947
Sarcastic Poster
ardav is offline Offline
6,684 posts
since Oct 2006
May 15th, 2009
0

Re: select box using ajax and php

Click to Expand / Collapse  Quote originally posted by shefeekj ...
i hve used the script ..please check out this link

http://www.seotoolskit.info

I can send you the code if this is what u need
hello

thanx for your reply

i saw script,can u mail me with some modifications

i have got 4 text boxes corresponding to 4 differnt columns in d database,

wat would i modify for getting respective results in respective text boxes on filling back

can u mail me d code

bro'its urgent ma mail id is [email removed]
Last edited by Ezzaral; May 15th, 2009 at 12:23 pm. Reason: Snipped email. Please keep it on site.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jabroni7 is offline Offline
3 posts
since May 2009
May 15th, 2009
0

Re: select box using ajax and php

Click to Expand / Collapse  Quote originally posted by jabroni7 ...
hi

Please help me with code or links

i have a text box,when ever some one types a letter or more ,it should search those letters from an array of values or from a mysql table and display all the values starting with value in a text box in a select box

i want it to be live using javascript and ajax

please help me with the code or links that would help me

see this link... they explained it well.... u can make necessary changes according to ur requirements.

link:
http://www.w3schools.com/ajax/tryit....ax_httpsuggest
Reputation Points: 11
Solved Threads: 3
Junior Poster in Training
csharplearner is offline Offline
99 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Forum and Website Merging
Next Thread in PHP Forum Timeline: URGENT!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC