Search Bar Like Google with results being displayed as typing

Hi ,

I have tried creating a search bar like this using asp and javascript but find that although sometimes the results are ok in speed most the time it is not displaying instant results but is leaving a pause , obviously the person has already typed the next letters by this time...

I understand that Ajax runs instant like google , amazon etc ...

Here is what i have been using...

<script type="text/javascript">

function showResult(str)


if (str.length==0)


[url removed, login to view]("livesearch").innerHTML="";

[url removed, login to view]("livesearch").style.border="0px";



if ([url removed, login to view])

{// code for IE7+, Firefox, Chrome, Opera, Safari

xmlhttp=new XMLHttpRequest();



{// code for IE6, IE5

xmlhttp=new ActiveXObject("[url removed, login to view]");




if (xmlhttp.readyState==4 && xmlhttp.status==200)


[url removed, login to view]("livesearch").innerHTML=[url removed, login to view];

// [url removed, login to view]("livesearch").style.border="1px solid #A5ACB2";



[url removed, login to view]("GET","[url removed, login to view]"+str,true);

[url removed, login to view]();



My Database holds over 100,000 records and i would be searching a `keyword` field in order to display the results.

Please let me know your bids to resolve this for faster searching.



Skills: AJAX, Javascript, jQuery / Prototype, PHP

See more: xmlhttp readystate 0, what is google code, true results, q find, php code for google search, if xmlhttp.readystate 4, google chrome amazon, find my typing speed, get google chrome, find google chrome, str, google speed, amazon style, php google style, speed typing script, xmlhttprequest, javascript pause, amazon search php, amazon function, google keyword length, code bar code, google javascript code, javascript order function, search next, google search bar

About the Employer:
( 19 reviews ) Norwich, United Kingdom

Project ID: #2549492

Awarded to:


I created search suggestion scripts in the past. Please, see my PM for examples.

$250 USD in 1 day
(95 Reviews)

7 freelancers are bidding on average $428 for this job


Hi Kindly take a look at your private message box. I have put the detailed information in there regarding your project. Thanks

$250 USD in 1 day
(21 Reviews)

Hi, I AM GOOD AT AJAX PROGRAMMING. I am Bryant, an experienced freelancer with good reviews ( I've just read through your requirement and know the basic idea of wha More

$500 USD in 3 days
(23 Reviews)

I have already done similar projects. Please check your PMB for example links.

$250 USD in 4 days
(21 Reviews)

We are interested to work with you. We have necessary experience for this project. We have highly experienced team for this project. Please check INBOX for more details.

$700 USD in 15 days
(17 Reviews)

Hi there, Freelance professional at your service. Please refer to my personal message for demo. Cheers, Ela Buwa

$299 USD in 3 days
(19 Reviews)

FlexusWebSolutions (FWS) knows for modern business web development, website designing and SEO services in India. We have expertise in all kind of web development , web promoting services and you can feel it once you ge More

$750 USD in 30 days
(0 Reviews)