using my website people can search any names in world. users can add their particular name to favorite list. each user can see their favorite names list in another page(names those added by user in one session). can you suggest a best method to do this using jquery/ajax.
Thankz.
using my website people can search any names in world. users can add their
Share
You could use local storage to save the data. It works as easy as this:
You could save the names using an incrementing key:
And then, to retrieve the list:
There are some plugins that provide fallbacks on browsers that don’t support web storage (Even on ie6), like totalStorage or jstorage.