If any of you have any other apporach then pls let me know.
May you pls tell me how to use the ajax code for doing that.may you pls pass me links that has code for doing this.
Thank you once again.
Have you asked Google? Google knows a lot. I doubt you'll find a copy-and-paste solution, because your code needs to talk to your server. At any rate, if you Google it, you should be able to find what you need. Google is your friend.