AJAX Dictionary that was listed on Digg today so I modified the search for my...">

AJAX Search baby!

I was inspired by this cool AJAX Dictionary that was listed on Digg today so I modified the search for my this to be all ajaxified. It's actually pretty cool, and responsive.
Leave A Reply - 15 Replies
Replies
robert 2006-09-16 08:34am - robertgrundATyahoo_dot_com - Logged IP: 80.121.25.231

Hi,

I like your search form very much. Could you send me the script?

perke 2006-11-19 09:15am - perke11_at_gmail.com - Logged IP: 89.146.150.100

this live thingy looks cool! anyway to get a hold of it?

gerald 2006-11-27 11:34am - gerald.pierce@... - Logged IP: 156.108.217.62

I like you search script can you send it to me.

Scott Baker 2006-11-27 11:57am - No Email - Logged IP: 65.182.224.60

It's just some javascript, just view the source of the page. It's nothing special.

Lina 2007-02-23 09:52am - mallahlina@... - Logged IP: 165.134.150.202

You search dictionary is great, can you tell me how you did and send me the script??

I would really appreciate your help

Thank you

jaime 2007-06-07 01:49pm - jaimeascanio@... - Logged IP: 88.19.253.242

Hello! I love your script! could you send it to me? im willing to donate if you want :)

Morten Skogly 2007-08-10 12:34pm - morten.skogly@... - Logged IP: 160.67.19.25

Hehe, fantastic captcha solution you've got with the baby and the kitting!

Love your script, it was supereasy to set up. I'm using it on the admin part of a google maps based app, listing points with option to edit or delete, all done with you ajax script, cudos to you, very clean stuff!

To those asking for the script, all you need on the client side is available right on the page, just view source and copy everything and paste it into a new document. But change /search.php to point to wherever you want it to reside on you server.

then you need to actually create the search.php and build a script that searches your mysql database. there are so many ways to do that, so i think it is a tall order to ask perturb to write a complete tutorial on that, but if you are a complete noob pop over to w3schools to learn the basics

but heres the skinny: the first line in the output of search.php needs to look something like this

thewordsyousearchfor:12:000.9

where 12 would be the number of hits your sql query returned and 000.9 would be the time it took for your search to complete. I cheated a little because I didn't want to show the number of results or the time it took, so I just hardcoded that part (my javascript skills are not good enough to clean that stuff up I think). the rest of the php-script outputs pure html, something like link to your article link to your article link to your article

i might write a post about it on http://pappmaskin.blogspot.com, great stuff

ghuebgtz 2007-09-27 03:17am - ghuebgtz@... - Logged IP: 202.155.92.74

wow that's cool can you send me the script? :)

Colin 2007-11-27 09:19pm - info@... - Logged IP: 71.17.169.139

How come in FireFox I get a syntax error. Open your "Error Console" and see. How would you fix that?

Matt 2008-01-11 10:11am - No Email - Logged IP: 208.177.146.68

How about fixing this to work in IE7?

Antonius 2008-04-08 04:49am - Antonius.fabian.marcus@... - Logged IP: 145.24.38.132

Wow, you script rocks, could you plese send it to me? Thank you

Antonius 2008-04-08 04:51am - Antonius.fabian.marcus@... - Logged IP: 145.24.38.132

Wow, you script rocks, could you plese send it to me? Thank you

antonius 2008-04-08 04:52am - Antonius.fabian.marcus@... - Logged IP: 145.24.38.132

Wow, you script rocks, could you plese send it to me? Thank you

Brian 2008-07-17 09:52am - support@... - Logged IP: 99.164.122.97

Can you send me your code for the AJAX Search Baby?

Jonathan 2008-09-03 12:37pm - j.weisberg@... - Logged IP: 64.52.20.100

I would also love to see the source for this script.

All content licensed under the Creative Commons License