views:

29

answers:

2

Hello,

I am creating social network site like facebook.

I want to create search box like facebook search box with member photo, Member Name and Member's other detail.

I have already created that control with jQuery

Link is

http://loopj.com/2009/04/25/jquery-plugin-tokenizing-autocomplete-text-entry/

Demo in

http://loopj.com/tokeninput/demo.html

It's run perfect but when i am type some name start with 'bob' then it will create request for every character and i required that if some type one time 'bob' then type again that time its not require for request again.

I have more then 1 million record so i want get record faster.

A: 

Checkout the cache property in JQuery.AJAX

Cheers

Ramesh Vel
A: 

I got my answer from jQuery site

just add following code on page.

$.ajaxSetup({ ifModified: true });

AjmeraInfo