Click here to Skip to main content
15,031,495 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a portion of my form where i need to enter the employee number of an employee. Once i enter the employee number it should automatically fill the employee information fields. Now this can be done by connecting to the database but i dont require that coz what will happen that the information will be sent to server and then then the server will return the page in which the information for the rest of the fields of the form entered manually before will be lost and have to be entered again. What i require is that it should run on the client side so that the information is automatically filled in the fields without sending the request to the server and loading the data of the entered fields which will delete the information in the previously entered fields.
i cant find a way to do it.May be on form load time creating some array of the information and then based on JS or JQuery retrieving from that array. I am not sure.
Kindly help me out in this issue..
Thanks and regards
Posted

Ever heard of something called AJAX?
   
Comments
khanishfaq82 6-Jun-10 3:42am
   
Yes i am trying on with Ajax and jQuery and have benefited myself a bit bt still long way to go.
I am new to Ajax and jQuery thats why finding it hard to use.
You can use the Ajax call using the XML or JSON which will solve your problem
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900