In Progress

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";

return;

}

if ([url removed, login to view])

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

xmlhttp=new XMLHttpRequest();

}

else

{// code for IE6, IE5

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

}

xmlhttp.onreadystatechange=function()

{

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]();

}

</script>

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.

Thanks,

Pete

Skills: AJAX, Javascript, jQuery / Prototype, PHP

See more: true results, q find, php code google search, google chrome amazon, get google chrome, find google chrome, str, google speed, amazon style, php google style, speed typing script, javascript pause, amazon search php, amazon function, google keyword length, google javascript code, javascript order function, search next, google search bar, google search firefox, firefox google, php amazon order, solid javascript, open safari, amazon search php script

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

Project ID: #2549492

Awarded to:

AndreiMk

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

$250 USD in 1 day
(95 Reviews)
6.9

7 freelancers are bidding on average $428 for this job

myzealit

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)
7.6
bryantandk

Hi, I AM GOOD AT AJAX PROGRAMMING. I am Bryant, an experienced freelancer with good reviews ( http://www.freelancer.com/u/bryantandk.html) I've just read through your requirement and know the basic idea of wha More

$500 USD in 3 days
(23 Reviews)
5.6
welkinsystems

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

$250 USD in 4 days
(21 Reviews)
5.6
phpcluster

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)
5.6
elabuwa

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)
5.1
flexusweb1985

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)
0.0